
ProcessMatch provides more flexibility in handling process names, especially in scenarios across platforms and openstack releases. To do: generalize process regex across linux distros and openstack releases. Change-Id: I7dae9a90407134f01d5c9fbb722db62844197e47
24 lines
578 B
Ruby
24 lines
578 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" => { "ProcessMatch" => ["cinder-volume\" \"cinder-volume", "iscsid\" \"iscsid", "multipathd\" \"multipathd"] }
|
|
}
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-block-storage::volume]"
|
|
)
|