cookbook-pacemaker/examples/roles/pacemaker-active.rb
Adam Spiers a10a3ad461 merge pacemaker cookbooks
Preliminary merge of git://github.com/ktc-itsnotbutter/pacemaker.git
(in the chef/cookbooks/pacemaker/ directory) with the cookbook
from the pacemaker_service branch of:

  https://github.com/mattray/barclamp_ha_service.git

(in the chef/cookbooks/pacemaker2/ directory)

since both forks had some nice stuff.  This merge is not complete yet.
2013-12-12 22:59:32 +00:00

23 lines
407 B
Ruby

name "pacemaker-active"
description "pacemaker active."
override_attributes(
"pacemaker" => {
"services" => {
"apache2" => {
"vip" => "10.0.111.5",
"active" => "ubuntu1-1004.vm"
},
"mysql" => {
"vip" => "10.0.111.7",
"passive" => ["ubuntu1-1004.vm"]
}
}
}
)
run_list(
"recipe[pacemaker::master]",
"recipe[pacemaker::services]"
)