Jerry Zhao 421fdfe39a Add collectd cookbook
Will associate monitored processes with roles later.

Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
2014-08-05 21:00:01 -07:00

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]"
)