
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
373 B
Ruby
17 lines
373 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"
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-block-storage::volume]"
|
|
)
|