]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix Vagrant vars for MDS and RGW 223/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 2 Mar 2015 16:41:52 +0000 (17:41 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 2 Mar 2015 16:41:52 +0000 (17:41 +0100)
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Vagrantfile

index 14455146af90ee3b0d00bf94c606f110782d10d0..612a9be42074f968c7f20d07e3a55d6cb5668e02 100644 (file)
@@ -27,11 +27,12 @@ ansible_provision = proc do |ansible|
   }
 
   # In a production deployment, these should be secret
-  if NRGWS != '0'
+  if NMDSS != '0' && NRGWS != '0'
     ansible.extra_vars = {
       fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
       monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
       radosgw: 'true',
+      mds: 'true',
     }
   elsif NMDSS != '0'
     ansible.extra_vars = {
@@ -39,6 +40,12 @@ ansible_provision = proc do |ansible|
       monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
       mds: 'true',
     }
+  elsif NRGWS != '0'
+    ansible.extra_vars = {
+      fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
+      monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
+      radosgw: 'true',
+    }
   else
     ansible.extra_vars = {
       fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',