]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Add support for journals 35/head
authorHunter Nield <hunternield@gmail.com>
Tue, 11 Jun 2013 09:08:00 +0000 (17:08 +0800)
committerHunter Nield <hunternield@gmail.com>
Tue, 11 Jun 2013 09:08:00 +0000 (17:08 +0800)
recipes/osd.rb

index 13aec924d6921f137a466e6e1e5712616b40800c..cbc11f420c9089360a531647ddf5dd9e0d472d88 100644 (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