Added a Vertica vm

This commit is contained in:
Tim Kuhlman 2014-02-20 20:26:34 -07:00
parent ab8dfc17a8
commit e8a8ea2486
4 changed files with 29 additions and 0 deletions

View File

@ -1,4 +1,5 @@
metadata
cookbook 'hostsfile', '= 1.0.1'
cookbook 'kafka', git: 'https://git.hpcloud.net/mon/cookbooks-kafka'
cookbook 'vertica', git: 'https://git.hpcloud.net/mon/cookbooks-vertica'
cookbook 'zookeeper', git: 'https://git.hpcloud.net/mon/cookbooks-zookeeper'

View File

@ -32,4 +32,5 @@ vagrant up
- Your home dir is synced to the vm in /vagrant_home on each vm
- Vms created
- `kafka` at `192.168.10.10`
- `vertica` at `192.168.10.8`
- Run `vagrant help` for more info

10
Vagrantfile vendored
View File

@ -21,4 +21,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
config.vm.define "vertica" do |vertica|
vertica.vm.network :private_network, ip: "192.168.10.8"
vertica.vm.provision :chef_solo do |chef|
chef.roles_path = "roles"
chef.data_bags_path = "data_bags"
chef.add_role "Vertica"
end
end
end

17
roles/Vertica.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "Vertica",
"description": "Sets up Vertica",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"role[Basenode]",
"recipe[vertica]",
"recipe[sysctl]"
],
"env_run_lists": {
}
}