Merge "Add fwaas package for Kilo in Red Hat platforms"
This commit is contained in:
commit
36ae93de4f
@ -57,6 +57,8 @@ class neutron::params {
|
||||
$l3_agent_package = false
|
||||
$l3_agent_service = 'neutron-l3-agent'
|
||||
|
||||
$fwaas_package = 'openstack-neutron-fwaas'
|
||||
|
||||
$metadata_agent_service = 'neutron-metadata-agent'
|
||||
|
||||
$cliff_package = 'python-cliff'
|
||||
@ -126,6 +128,8 @@ class neutron::params {
|
||||
$l3_agent_package = 'neutron-l3-agent'
|
||||
$l3_agent_service = 'neutron-l3-agent'
|
||||
|
||||
$fwaas_package = false
|
||||
|
||||
$cliff_package = 'python-cliff'
|
||||
$kernel_headers = "linux-headers-${::kernelrelease}"
|
||||
|
||||
|
@ -59,9 +59,9 @@ class neutron::services::fwaas (
|
||||
}
|
||||
} elsif($::osfamily == 'Redhat') {
|
||||
# RH platforms
|
||||
ensure_resource( 'package', $::neutron::params::package_name,
|
||||
ensure_resource( 'package', $::neutron::params::fwaas_package,
|
||||
{ '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 {
|
||||
|
@ -90,11 +90,14 @@ describe 'neutron::services::fwaas' do
|
||||
end
|
||||
|
||||
let :platform_params do
|
||||
{ :package_name => 'openstack-neutron' }
|
||||
{ :fwaas_package => 'openstack-neutron-fwaas' }
|
||||
end
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user