Fixed metering agent package for Red Hat systems
RDO now installs the neutron metering agent service in a separate package. The metering agent class now installs the package with correct configuration and service dependencies. Change-Id: Ibe96fcd9299445c502af0bfb5363005c86fec9f6
This commit is contained in:
parent
f9b3d184a0
commit
1c75c20831
@ -87,8 +87,7 @@ class neutron::agents::metering (
|
||||
name => $::neutron::params::metering_agent_package,
|
||||
}
|
||||
} else {
|
||||
# Some platforms (RedHat) do not provide a neutron metering agent package.
|
||||
# The neutron metering agent config file is provided by the neutron package.
|
||||
# Default dependency if the system does not provide a neutron metering agent package.
|
||||
Package['neutron'] -> Neutron_metering_agent_config<||>
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ class neutron::params {
|
||||
|
||||
$haproxy_package = 'haproxy'
|
||||
|
||||
$metering_agent_package = false
|
||||
$metering_agent_package = 'openstack-neutron-metering-agent'
|
||||
$metering_agent_service = 'neutron-metering-agent'
|
||||
|
||||
$vpnaas_agent_package = 'openstack-neutron-vpn-agent'
|
||||
|
@ -111,7 +111,8 @@ describe 'neutron::agents::metering' do
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :metering_agent_service => 'neutron-metering-agent' }
|
||||
{ :metering_agent_package => 'openstack-neutron-metering-agent',
|
||||
:metering_agent_service => 'neutron-metering-agent' }
|
||||
end
|
||||
|
||||
it_configures 'neutron metering agent'
|
||||
|
Loading…
Reference in New Issue
Block a user