Move to an box with chef11

This commit is contained in:
Tim Kuhlman 2014-07-09 13:39:24 -06:00
parent f8810ff37d
commit fa5af629ea
3 changed files with 9 additions and 24 deletions

View File

@ -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'

3
Vagrantfile vendored
View File

@ -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

18
split/Vagrantfile vendored
View File

@ -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"