From 314ebfb0aed22619cd766cefe2ec6a5c935bd047 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Mon, 7 Mar 2016 14:05:01 +0100 Subject: [PATCH] vagrant: ability to configure installation source MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit now with vagrant, you can either enable ceph_stable or ceph_dev depending on what you're looking to test. Signed-off-by: Sébastien Han --- Vagrantfile | 2 +- vagrant_variables.yml.sample | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 73147fa5f..1363096a4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -54,7 +54,7 @@ ansible_provision = proc do |ansible| } else ansible.extra_vars = { - ceph_stable: 'true', + "ceph_#{settings['ceph_install_source']}"=> 'true', journal_collocation: 'true', journal_size: 100, monitor_interface: ETH, diff --git a/vagrant_variables.yml.sample b/vagrant_variables.yml.sample index 6edb792c9..7a161b89e 100644 --- a/vagrant_variables.yml.sample +++ b/vagrant_variables.yml.sample @@ -10,6 +10,10 @@ mds_vms: 0 rgw_vms: 0 client_vms: 0 +# INSTALL SOURCE OF CEPH +# valid values are 'stable' and 'dev' +ceph_install_source: stable + # SUBNET TO USE FOR THE VMS subnet: 192.168.42 -- 2.39.5