Add fwaas package for Kilo in Red Hat platforms
Starting in Kilo, Red Hat platforms are packaging FWaaS as a separate package, rather than inside openstack-neutron. If this package is not merged, neutron-server will fail to start when fwaas is configured. Change-Id: I6bf84aa803ab8b2bc4822352f6df72cf03ebe3dc
This commit is contained in:
parent
8946a0e99b
commit
36c50bf76b
@ -57,6 +57,8 @@ class neutron::params {
|
|||||||
$l3_agent_package = false
|
$l3_agent_package = false
|
||||||
$l3_agent_service = 'neutron-l3-agent'
|
$l3_agent_service = 'neutron-l3-agent'
|
||||||
|
|
||||||
|
$fwaas_package = 'openstack-neutron-fwaas'
|
||||||
|
|
||||||
$metadata_agent_service = 'neutron-metadata-agent'
|
$metadata_agent_service = 'neutron-metadata-agent'
|
||||||
|
|
||||||
$cliff_package = 'python-cliff'
|
$cliff_package = 'python-cliff'
|
||||||
@ -126,6 +128,8 @@ class neutron::params {
|
|||||||
$l3_agent_package = 'neutron-l3-agent'
|
$l3_agent_package = 'neutron-l3-agent'
|
||||||
$l3_agent_service = 'neutron-l3-agent'
|
$l3_agent_service = 'neutron-l3-agent'
|
||||||
|
|
||||||
|
$fwaas_package = false
|
||||||
|
|
||||||
$cliff_package = 'python-cliff'
|
$cliff_package = 'python-cliff'
|
||||||
$kernel_headers = "linux-headers-${::kernelrelease}"
|
$kernel_headers = "linux-headers-${::kernelrelease}"
|
||||||
|
|
||||||
|
@ -59,9 +59,9 @@ class neutron::services::fwaas (
|
|||||||
}
|
}
|
||||||
} elsif($::osfamily == 'Redhat') {
|
} elsif($::osfamily == 'Redhat') {
|
||||||
# RH platforms
|
# RH platforms
|
||||||
ensure_resource( 'package', $::neutron::params::package_name,
|
ensure_resource( 'package', $::neutron::params::fwaas_package,
|
||||||
{ 'ensure' => $neutron::package_ensure })
|
{ 'ensure' => $neutron::package_ensure })
|
||||||
Package[$::neutron::params::package_name] -> Neutron_fwaas_service_config<||>
|
Package[$::neutron::params::fwaas_package] -> Neutron_fwaas_service_config<||>
|
||||||
}
|
}
|
||||||
|
|
||||||
neutron_fwaas_service_config {
|
neutron_fwaas_service_config {
|
||||||
|
@ -90,11 +90,14 @@ describe 'neutron::services::fwaas' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
let :platform_params do
|
let :platform_params do
|
||||||
{ :package_name => 'openstack-neutron' }
|
{ :fwaas_package => 'openstack-neutron-fwaas' }
|
||||||
end
|
end
|
||||||
|
|
||||||
it_configures 'neutron fwaas service plugin'
|
it_configures 'neutron fwaas service plugin'
|
||||||
|
|
||||||
|
it 'installs neutron fwaas service package' do
|
||||||
|
should contain_package('openstack-neutron-fwaas').with_ensure('present')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user