]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Untrack vagrant_variables.yml and use a sample file 255/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 27 Apr 2015 16:46:51 +0000 (18:46 +0200)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 27 Apr 2015 16:48:49 +0000 (18:48 +0200)
Now to enable the variable file and modify it as much as you want
simply:

git clone ...
cp vagrant_variables.yml.sample vagrant_variables.yml

Edit vagrant_variables.yml

Fixes: #241
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
README.md
vagrant_variables.yml [deleted file]
vagrant_variables.yml.sample [new file with mode: 0644]

index 88b7c2017ee103be8a4059e8e89aa988398b1f57..e461742d73d9e45929bef00fdc080f681cf436c5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ Clone me:
 
 ```bash
 git clone https://github.com/ceph/ceph-ansible.git
+cp vagrant_variables.yml.sample vagrant_variables.yml
 ```
 
 ## What does it do?
diff --git a/vagrant_variables.yml b/vagrant_variables.yml
deleted file mode 100644 (file)
index 2252447..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
----
-
-# DEFINE THE NUMBER OF VMS TO RUN
-mon_vms: 3
-osd_vms: 3
-mds_vms: 0
-rgw_vms: 0
-client_vms: 0
-
-# SUBNET TO USE FOR THE VMS
-subnet: 192.168.42
-
-# VAGRANT BOX
-# Fedora: http://download.fedoraproject.org/pub/fedora/linux/releases/test/22_Alpha/Cloud/x86_64/Images/Fedora-Cloud-Atomic-Vagrant-22_Alpha-20150305.x86_64.vsphere.ova
-# Ubuntu: ubuntu/trusty
-# CentOS: chef/centos-7.0
-# For more boxes have a look at:
-#   - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
-#   - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
-vagrant_box: ubuntu/trusty64
diff --git a/vagrant_variables.yml.sample b/vagrant_variables.yml.sample
new file mode 100644 (file)
index 0000000..2252447
--- /dev/null
@@ -0,0 +1,20 @@
+---
+
+# DEFINE THE NUMBER OF VMS TO RUN
+mon_vms: 3
+osd_vms: 3
+mds_vms: 0
+rgw_vms: 0
+client_vms: 0
+
+# SUBNET TO USE FOR THE VMS
+subnet: 192.168.42
+
+# VAGRANT BOX
+# Fedora: http://download.fedoraproject.org/pub/fedora/linux/releases/test/22_Alpha/Cloud/x86_64/Images/Fedora-Cloud-Atomic-Vagrant-22_Alpha-20150305.x86_64.vsphere.ova
+# Ubuntu: ubuntu/trusty
+# CentOS: chef/centos-7.0
+# For more boxes have a look at:
+#   - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
+#   - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
+vagrant_box: ubuntu/trusty64