]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
vagrant: ability to configure installation source 606/head
authorSébastien Han <seb@redhat.com>
Mon, 7 Mar 2016 13:05:01 +0000 (14:05 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 7 Mar 2016 13:05:01 +0000 (14:05 +0100)
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 <seb@redhat.com>
Vagrantfile
vagrant_variables.yml.sample

index 73147fa5fca46e0d50fbcd5ad8023ee93e57c1a2..1363096a495cdf101f733d95ada243575f230c0f 100644 (file)
@@ -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,
index 6edb792c945d8044a45ba5cf46bdf337cafd0c93..7a161b89e5397060446cbde0835de19d962c8848 100644 (file)
@@ -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