From fa5af629ea9781fbe0182045c21dfc16332cc853 Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Wed, 9 Jul 2014 13:39:24 -0600 Subject: [PATCH] Move to an box with chef11 --- Berksfile | 12 ++---------- Vagrantfile | 3 +-- split/Vagrantfile | 18 ++++++------------ 3 files changed, 9 insertions(+), 24 deletions(-) diff --git a/Berksfile b/Berksfile index 26d924b..dac8929 100644 --- a/Berksfile +++ b/Berksfile @@ -16,13 +16,5 @@ cookbook 'storm', git: 'https://github.com/tkuhlman/storm' cookbook 'vertica', git: 'https://github.com/hpcloud-mon/cookbooks-vertica' cookbook 'zookeeper', git: 'https://github.com/hpcloud-mon/cookbooks-zookeeper' -# The vagrant precise box has an older version of chef when this is fixed we can move to the upstream percona cookbook -#cookbook 'percona', git: 'https://github.com/phlipper/chef-percona' -cookbook 'percona', git: 'https://github.com/tkuhlman/chef-percona', branch: "feature/mini-mon" - -# community cookbook we pin, mostly because of the older version of chef in the vagrant precise box -cookbook 'hostsfile', '= 1.0.1' -cookbook 'build-essential', '= 1.4.4' -cookbook 'runit', '= 1.0.4' -cookbook 'sysctl', '= 0.4.0' -cookbook 'openssl', '= 1.1.0' +# Community cookbooks +cookbook 'percona', git: 'https://github.com/phlipper/chef-percona' diff --git a/Vagrantfile b/Vagrantfile index e08019c..b2af1d6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -42,8 +42,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # One vm running all the services config.vm.define "mini-mon" do |mm| mm.vm.hostname = 'mini-mon' - mm.vm.box = "precise64" - mm.vm.box_url = "http://files.vagrantup.com/precise64.box" + mm.vm.box = "kuhlmant/precise64_chef11" mm.vm.network :private_network, ip: "192.168.10.4" mm.vm.provider "virtualbox" do |vb| vb.memory = 6144 diff --git a/split/Vagrantfile b/split/Vagrantfile index 703075a..cb48f0c 100644 --- a/split/Vagrantfile +++ b/split/Vagrantfile @@ -31,8 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # VM specific settings, these machines come up in order they are specified. config.vm.define "mysql" do |mysql| mysql.vm.hostname = 'mysql' - mysql.vm.box = "precise64" - mysql.vm.box_url = "http://files.vagrantup.com/precise64.box" + mysql.vm.box = "kuhlmant/precise64_chef11" mysql.vm.network :private_network, ip: "192.168.10.6" mysql.vm.provision :chef_solo do |chef| chef.roles_path = "roles" @@ -43,8 +42,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "kafka" do |kafka| kafka.vm.hostname = 'kafka' - kafka.vm.box = "precise64" - kafka.vm.box_url = "http://files.vagrantup.com/precise64.box" + kafka.vm.box = "kuhlmant/precise64_chef11" kafka.vm.network :private_network, ip: "192.168.10.10" kafka.vm.provision :chef_solo do |chef| chef.roles_path = "roles" @@ -58,8 +56,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "vertica" do |vertica| vertica.vm.hostname = 'vertica' - vertica.vm.box = "precise64" - vertica.vm.box_url = "http://files.vagrantup.com/precise64.box" + vertica.vm.box = "kuhlmant/precise64_chef11" vertica.vm.network :private_network, ip: "192.168.10.8" vertica.vm.provision :chef_solo do |chef| chef.roles_path = "roles" @@ -73,8 +70,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "api" do |api| api.vm.hostname = 'api' - api.vm.box = "precise64" - api.vm.box_url = "http://files.vagrantup.com/precise64.box" + api.vm.box = "kuhlmant/precise64_chef11" api.vm.network :private_network, ip: "192.168.10.4" api.vm.provision :chef_solo do |chef| chef.roles_path = "roles" @@ -101,8 +97,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "persister" do |persister| persister.vm.hostname = 'persister' - persister.vm.box = "precise64" - persister.vm.box_url = "http://files.vagrantup.com/precise64.box" + persister.vm.box = "kuhlmant/precise64_chef11" persister.vm.network :private_network, ip: "192.168.10.12" persister.vm.provision :chef_solo do |chef| chef.roles_path = "roles" @@ -116,8 +111,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "thresh" do |thresh| thresh.vm.hostname = 'thresh' - thresh.vm.box = "precise64" - thresh.vm.box_url = "http://files.vagrantup.com/precise64.box" + thresh.vm.box = "kuhlmant/precise64_chef11" thresh.vm.network :private_network, ip: "192.168.10.14" thresh.vm.provision :chef_solo do |chef| chef.roles_path = "roles"