Initial persister support.
This is untested and is missing the needed data bag for the persister.
This commit is contained in:
parent
c243e26507
commit
6b82ff4442
@ -2,5 +2,6 @@ metadata
|
||||
cookbook 'hostsfile', '= 1.0.1'
|
||||
cookbook 'kafka', git: 'git@git.hpcloud.net:mon/cookbooks-kafka'
|
||||
cookbook 'percona', git: 'https://github.com/tkuhlman/chef-percona'
|
||||
cookbook 'persister', git: 'git@git.hpcloud.net:mon/cookbooks-persister'
|
||||
cookbook 'vertica', git: 'git@git.hpcloud.net:mon/cookbooks-vertica'
|
||||
cookbook 'zookeeper', git: 'git@git.hpcloud.net:mon/cookbooks-zookeeper'
|
||||
|
10
Vagrantfile
vendored
10
Vagrantfile
vendored
@ -43,6 +43,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "persister" do |persister|
|
||||
persister.vm.hostname = 'persister'
|
||||
persister.vm.network :private_network, ip: "192.168.10.12"
|
||||
persister.vm.provision :chef_solo do |chef|
|
||||
chef.roles_path = "roles"
|
||||
chef.data_bags_path = "data_bags"
|
||||
chef.add_role "Persister"
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "vertica" do |vertica|
|
||||
vertica.vm.hostname = 'vertica'
|
||||
vertica.vm.network :private_network, ip: "192.168.10.8"
|
||||
|
17
roles/Persister.json
Normal file
17
roles/Persister.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "Persister",
|
||||
"description": "Sets up Persister",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[Basenode]",
|
||||
"recipe[mon-persister]",
|
||||
"recipe[sysctl]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user