
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
17 lines
350 B
Ruby
17 lines
350 B
Ruby
name "os-compute-api-os-compute"
|
|
description "OpenStack API for Compute"
|
|
override_attributes(
|
|
"rsyslog" => {
|
|
"rhelloglist" => {
|
|
"nova-api" => "/var/log/nova/api.log"
|
|
},
|
|
"debianloglist" => {
|
|
"nova-api" => "/var/log/nova/nova-api.log"
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-compute::api-os-compute]"
|
|
)
|