Added a Vertica vm
This commit is contained in:
parent
ab8dfc17a8
commit
e8a8ea2486
@ -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'
|
||||
|
@ -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
10
Vagrantfile
vendored
@ -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
17
roles/Vertica.json
Normal 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": {
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user