
Will associate monitored processes with roles later. Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
16 lines
278 B
Ruby
16 lines
278 B
Ruby
name "os-ha"
|
|
description "Software load banance"
|
|
override_attributes(
|
|
"collectd" => {
|
|
"rhel" => {
|
|
"plugins" => {
|
|
"processes" => { "Process" => ["haproxy", "keepalived"]}
|
|
}
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"recipe[keepalived]",
|
|
"recipe[haproxy::tcp_lb]"
|
|
)
|