Fix Vagrant vars for MDS and RGW

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
pull/223/head
Sébastien Han 2015-03-02 17:41:52 +01:00
parent c0ce7dd754
commit a1d062b8f9
1 changed files with 8 additions and 1 deletions

9
Vagrantfile vendored
View 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',