
Define role related log attributes in role configs so that recipe does not need to check its own role every time when writing a role related config from template, because those info would already have been in role definition and passed down to node attributes. Process monitoring can use the same mechanism. Change-Id: Ifb10da356baf99d2d7e21c8d4d3d8df38fc81f58
19 lines
355 B
Ruby
19 lines
355 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"
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
#"recipe[openstack-image::db]",
|
|
"recipe[openstack-image::api]"
|
|
)
|
|
|