From a1d062b8f9ee936038af5f413f65bbf81b662ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 2 Mar 2015 17:41:52 +0100 Subject: [PATCH] Fix Vagrant vars for MDS and RGW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Han --- Vagrantfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 14455146a..612a9be42 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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',