Add support for journals

This commit is contained in:
Hunter Nield 2013-06-11 17:08:00 +08:00
parent 79f763f58a
commit 5d8dc31941

View File

@ -114,7 +114,7 @@ else
dmcrypt = "--dmcrypt"
end
execute "Creating Ceph OSD on #{osd_device['device']}" do
command "ceph-disk-prepare #{dmcrypt} #{osd_device['device']}"
command "ceph-disk-prepare #{dmcrypt} #{osd_device['device']} #{osd_device['journal']}"
action :run
end
# we add this status to the node env