compass-adapters/chef/roles/os-block-storage-worker.rb
Jerry Zhao 421fdfe39a Add collectd cookbook
Will associate monitored processes with roles later.

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

24 lines
539 B
Ruby

name "os-block-storage-worker"
description "OpenStack Block Storage worker"
override_attributes(
"rsyslog" => {
"rhelloglist" => {
"cinder-volume" => "/var/log/cinder/volume.log"
},
"debianloglist" => {
"cinder-volume" => "/var/log/cinder/cinder-volume.log"
}
},
"collectd" => {
"rhel" => {
"plugins" => {
"processes" => { "Process" => ["openstack-cinder-volume", "iscsid", "multipathd"] }
}
}
}
)
run_list(
"role[os-base]",
"recipe[openstack-block-storage::volume]"
)