
Will associate monitored processes with roles later. Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
31 lines
1021 B
Ruby
31 lines
1021 B
Ruby
name "os-network"
|
|
description "Configures OpenStack networking, managed by attribute for either nova-network or quantum"
|
|
override_attributes(
|
|
"rsyslog" => {
|
|
"rhelloglist" => {
|
|
"quantum-ovsagent" => "/var/log/quantum/openvswitch-agent.log",
|
|
"quantum-dhcp" => "/var/log/quantum/dhcp-agent.log",
|
|
"quantum-l3agent" => "/var/log/quantum/l3-agent.log"
|
|
},
|
|
"debianloglist" => {
|
|
"quantum-ovsagent" => "/var/log/quantum/openvswitch-agent.log",
|
|
"quantum-dhcp" => "/var/log/quantum/dhcp-agent.log",
|
|
"quantum-l3agent" => "/var/log/quantum/l3-agent.log"
|
|
}
|
|
},
|
|
"collectd" => {
|
|
"rhel" => {
|
|
"plugins" => {
|
|
"processes" => { "Process" => ["quantum-dhcp-agent", "quantum-l3-agent", "quantum-openvswitch-agent", "quantum-metadata-agent"] }
|
|
}
|
|
}
|
|
}
|
|
)
|
|
run_list(
|
|
"role[os-base]",
|
|
"recipe[openstack-network::openvswitch]",
|
|
"recipe[openstack-network::l3_agent]",
|
|
"recipe[openstack-network::dhcp_agent]",
|
|
"recipe[openstack-network::metadata_agent]"
|
|
)
|