From 833a7ed0d1f64825643168df42cfb82362457fbc Mon Sep 17 00:00:00 2001 From: Alexandre Marangone Date: Fri, 15 Mar 2013 12:23:27 -0700 Subject: [PATCH] create /var/run/ceph/ Signed-off-by: Alexandre Marangone --- recipes/mon.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/mon.rb b/recipes/mon.rb index 1c60341..1c76ac2 100644 --- a/recipes/mon.rb +++ b/recipes/mon.rb @@ -16,6 +16,7 @@ cluster = 'ceph' execute 'ceph-mon mkfs' do command <<-EOH set -e +mkdir -p /var/run/ceph # TODO chef creates doesn't seem to suppressing re-runs, do it manually if [ -e '/var/lib/ceph/mon/ceph-#{node["hostname"]}/done' ]; then echo 'ceph-mon mkfs already done, skipping' -- 2.47.3