compass-adapters/chef/roles/os-image-api.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

26 lines
494 B
Ruby

name "os-image-api"
description "Glance API service"
override_attributes(
"rsyslog" => {
"rhelloglist" => {
"glance-api" => "/var/log/glance/api.log"
},
"debianloglist" => {
"glance-api" => "/var/log/glance/api.log"
}
},
"collectd" => {
"rhel" => {
"plugins" => {
"processes" => { "Process" => ["openstack-glance-api"] }
}
}
}
)
run_list(
"role[os-base]",
#"recipe[openstack-image::db]",
"recipe[openstack-image::api]"
)