
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
472 B
Ruby
19 lines
472 B
Ruby
name "os-compute-scheduler"
|
|
description "Nova scheduler"
|
|
override_attributes(
|
|
"rsyslog" => {
|
|
"rhelloglist" => {
|
|
"nova-scheduler" => "/var/log/nova/scheduler.log",
|
|
"nova-conductor" => "/var/log/nova/conductor.log"
|
|
},
|
|
"debianloglist" => {
|
|
"nova-scheduler" => "/var/log/nova/nova-scheduler.log",
|
|
"nova-conductor" => "/var/log/nova/nova-conductor.log"
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-compute::scheduler]"
|
|
)
|