Merge "Update neutron packages name for Fedora"
This commit is contained in:
commit
0b023ae233
@ -30,7 +30,7 @@ class neutron::agents::bigswitch (
|
||||
fail("Unsupported osfamily ${::osfamily}")
|
||||
}
|
||||
|
||||
ensure_packages('python-networking-bigswitch',
|
||||
ensure_packages("python${neutron::params::pyvers}-networking-bigswitch",
|
||||
{
|
||||
ensure => $package_ensure,
|
||||
tag => 'openstack',
|
||||
|
@ -5,7 +5,8 @@
|
||||
class neutron::params {
|
||||
include ::openstacklib::defaults
|
||||
|
||||
if ($::os_package_type == 'debian') {
|
||||
if ($::os_package_type == 'debian') or ($::os['name'] == 'Fedora') or
|
||||
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
||||
$pyvers = '3'
|
||||
} else {
|
||||
$pyvers = ''
|
||||
@ -75,8 +76,8 @@ class neutron::params {
|
||||
$metering_agent_package = 'openstack-neutron-metering-agent'
|
||||
$vpnaas_agent_package = 'openstack-neutron-vpnaas'
|
||||
$l2gw_agent_package = 'openstack-neutron-l2gw-agent'
|
||||
$l2gw_package = 'python2-networking-l2gw'
|
||||
$ovn_metadata_agent_package = 'python-networking-ovn-metadata-agent'
|
||||
$l2gw_package = "python${pyvers}-networking-l2gw"
|
||||
$ovn_metadata_agent_package = "python${pyvers}-networking-ovn-metadata-agent"
|
||||
$dynamic_routing_package = false
|
||||
$bgp_dragent_package = 'openstack-neutron-bgp-dragent'
|
||||
if $::operatingsystemrelease =~ /^7.*/ or $::operatingsystem == 'Fedora' {
|
||||
@ -94,7 +95,7 @@ class neutron::params {
|
||||
$networking_baremetal_package = 'python2-networking-baremetal'
|
||||
$networking_baremetal_agent_package = 'python2-ironic-neutron-agent'
|
||||
$networking_baremetal_agent_service = 'ironic-neutron-agent'
|
||||
$networking_ansible_package = 'python2-networking-ansible'
|
||||
$networking_ansible_package = "python${pyvers}-networking-ansible"
|
||||
} elsif($::osfamily == 'Debian') {
|
||||
$nobody_user_group = 'nogroup'
|
||||
$package_name = 'neutron-common'
|
||||
@ -116,8 +117,8 @@ class neutron::params {
|
||||
$api_service_name = false
|
||||
$rpc_package_name = false
|
||||
$rpc_service_name = false
|
||||
$dynamic_routing_package = 'python-neutron-dynamic-routing'
|
||||
$lbaas_package = 'python-neutron-lbaas'
|
||||
$dynamic_routing_package = "python${pyvers}-neutron-dynamic-routing"
|
||||
$lbaas_package = "python${pyvers}-neutron-lbaas"
|
||||
}
|
||||
$bgp_dragent_package = 'neutron-bgp-dragent'
|
||||
$ovs_agent_package = 'neutron-openvswitch-agent'
|
||||
|
@ -58,17 +58,10 @@ class neutron::services::lbaas (
|
||||
include ::neutron::params
|
||||
|
||||
if $ensure_lbaas_driver_package {
|
||||
if ($::os_package_type == 'debian') {
|
||||
ensure_packages(['python3-neutron-lbaas'], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
} else {
|
||||
ensure_packages(['python-neutron-lbaas'], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
}
|
||||
ensure_packages(["python${neutron::params::pyvers}-neutron-lbaas"], {
|
||||
ensure => $ensure_lbaas_driver_package,
|
||||
tag => ['openstack', 'neutron-package']
|
||||
})
|
||||
}
|
||||
|
||||
neutron_config {
|
||||
|
@ -220,7 +220,8 @@ describe 'neutron::agents::dhcp' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -241,7 +242,8 @@ describe 'neutron::agents::dhcp' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -119,7 +119,8 @@ describe 'neutron::agents::l3' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -139,7 +140,8 @@ describe 'neutron::agents::l3' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -133,6 +133,7 @@ describe 'neutron::agents::lbaas' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
:concat_basedir => '/dne'
|
||||
}
|
||||
))
|
||||
@ -153,6 +154,7 @@ describe 'neutron::agents::lbaas' do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
:concat_basedir => '/dne'
|
||||
}
|
||||
))
|
||||
|
@ -88,7 +88,8 @@ describe 'neutron::agents::metadata' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'Debian' }
|
||||
{ :osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } } }
|
||||
))
|
||||
end
|
||||
|
||||
@ -117,7 +118,8 @@ describe 'neutron::agents::metadata' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -112,7 +112,8 @@ describe 'neutron::agents::metering' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -132,7 +133,8 @@ describe 'neutron::agents::metering' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -166,7 +166,8 @@ describe 'neutron::agents::ml2::linuxbridge' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -182,7 +183,8 @@ describe 'neutron::agents::ml2::linuxbridge' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -140,7 +140,8 @@ describe 'neutron::agents::ml2::sriov' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -156,7 +157,8 @@ describe 'neutron::agents::ml2::sriov' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -7,6 +7,7 @@ describe 'neutron::agents::n1kv_vem' do
|
||||
:operatingsystem => 'RedHat',
|
||||
:operatingsystemrelease => '7',
|
||||
:osfamily => 'RedHat',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -97,7 +97,8 @@ describe 'neutron::agents::ovn_metadata' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'Debian' }
|
||||
{ :osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } } }
|
||||
))
|
||||
end
|
||||
|
||||
@ -113,7 +114,8 @@ describe 'neutron::agents::ovn_metadata' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -93,7 +93,8 @@ describe 'neutron::agents::vpnaas' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -122,6 +123,7 @@ describe 'neutron::agents::vpnaas' do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '6.5',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '6', :minor => '5' } },
|
||||
:operatingsystemmajrelease => 6 }))
|
||||
end
|
||||
|
||||
@ -138,6 +140,7 @@ describe 'neutron::agents::vpnaas' do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7.1.2',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '1.2' } },
|
||||
:operatingsystemmajrelease => 7 }))
|
||||
end
|
||||
|
||||
|
@ -500,7 +500,8 @@ describe 'neutron' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -515,7 +516,8 @@ describe 'neutron' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -167,7 +167,8 @@ describe 'neutron::plugins::cisco' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -203,7 +204,8 @@ describe 'neutron::plugins::cisco' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -89,7 +89,8 @@ describe 'neutron::plugins::midonet' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
it 'configures /etc/default/neutron-server' do
|
||||
@ -109,7 +110,8 @@ describe 'neutron::plugins::midonet' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
it_configures 'neutron midonet plugin'
|
||||
|
@ -103,7 +103,8 @@ describe 'neutron::plugins::ml2::bigswitch::restproxy' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -48,7 +48,8 @@ describe 'neutron::plugins::ml2::bigswitch' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -58,7 +59,8 @@ describe 'neutron::plugins::ml2::bigswitch' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -76,6 +76,7 @@ describe 'neutron::plugins::ml2::cisco::nexus1000v' do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -101,7 +101,8 @@ describe 'neutron::plugins::ml2::cisco::nexus' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -50,7 +50,8 @@ describe 'neutron::plugins::ml2::cisco' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -53,7 +53,8 @@ describe 'neutron::plugins::ml2::cisco::type_nexus_vxlan' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -65,6 +65,7 @@ describe 'neutron::plugins::ml2::cisco::ucsm' do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -64,7 +64,8 @@ describe 'neutron::plugins::ml2::cisco::vts' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
it_configures 'neutron plugin ml2 cisco vts'
|
||||
@ -74,6 +75,7 @@ describe 'neutron::plugins::ml2::cisco::vts' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
it_configures 'neutron plugin ml2 cisco vts'
|
||||
|
@ -49,7 +49,8 @@ describe 'neutron::plugins::ml2::mellanox' do
|
||||
let :facts do
|
||||
OSDefaults.get_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -57,7 +57,8 @@ describe 'neutron::plugins::ml2::midonet' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -50,7 +50,8 @@ describe 'neutron::plugins::ml2::mellanox::mlnx_sdn_assist' do
|
||||
let :facts do
|
||||
OSDefaults.get_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -61,6 +62,7 @@ describe 'neutron::plugins::ml2::mellanox::mlnx_sdn_assist' do
|
||||
let :facts do
|
||||
OSDefaults.get_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -68,7 +68,8 @@ describe 'neutron::plugins::ml2::opendaylight' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -79,6 +80,7 @@ describe 'neutron::plugins::ml2::opendaylight' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -305,7 +305,8 @@ describe 'neutron::plugins::ml2' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -335,7 +336,8 @@ describe 'neutron::plugins::ml2' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -72,7 +72,8 @@ describe 'neutron::plugins::nuage' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -83,7 +84,8 @@ describe 'neutron::plugins::nuage' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -94,7 +96,8 @@ describe 'neutron::plugins::nuage' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -115,7 +118,8 @@ describe 'neutron::plugins::nuage' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -100,7 +100,8 @@ describe 'neutron::plugins::nvp' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -115,7 +116,8 @@ describe 'neutron::plugins::nvp' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -63,7 +63,8 @@ describe 'neutron::plugins::opencontrail' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -88,7 +89,8 @@ describe 'neutron::plugins::opencontrail' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -101,7 +101,8 @@ describe 'neutron::plugins::plumgrid' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -123,7 +124,8 @@ describe 'neutron::plugins::plumgrid' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -329,7 +329,8 @@ describe 'neutron::server' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian',
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -349,6 +350,7 @@ describe 'neutron::server' do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -69,7 +69,8 @@ describe 'neutron::services::fwaas' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'Debian',
|
||||
:operatingsystem => 'Ubuntu'
|
||||
:operatingsystem => 'Ubuntu',
|
||||
:os => { :name => 'Ubuntu', :family => 'Debian', :release => { :major => '16', :minor => '04' } },
|
||||
}
|
||||
))
|
||||
end
|
||||
@ -89,7 +90,8 @@ describe 'neutron::services::fwaas' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge(
|
||||
{ :osfamily => 'Debian',
|
||||
:operatingsystem => 'Debian'
|
||||
:operatingsystem => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}
|
||||
))
|
||||
end
|
||||
@ -108,7 +110,8 @@ describe 'neutron::services::fwaas' do
|
||||
context 'on Debian platforms with VPNaaS' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
@ -130,7 +133,8 @@ describe 'neutron::services::fwaas' do
|
||||
let :facts do
|
||||
@default_facts.merge(test_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
}))
|
||||
end
|
||||
|
||||
|
@ -65,7 +65,8 @@ describe 'neutron::services::lbaas' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
})
|
||||
end
|
||||
|
||||
@ -80,7 +81,8 @@ describe 'neutron::services::lbaas' do
|
||||
let :facts do
|
||||
@default_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -59,7 +59,8 @@ describe 'neutron::services::vpnaas' do
|
||||
context 'on Debian platforms' do
|
||||
let :facts do
|
||||
@default_facts.merge({
|
||||
:osfamily => 'Debian'
|
||||
:osfamily => 'Debian',
|
||||
:os => { :name => 'Debian', :family => 'Debian', :release => { :major => '8', :minor => '0' } },
|
||||
})
|
||||
end
|
||||
|
||||
@ -74,7 +75,8 @@ describe 'neutron::services::vpnaas' do
|
||||
let :facts do
|
||||
@default_facts.merge({
|
||||
:osfamily => 'RedHat',
|
||||
:operatingsystemrelease => '7'
|
||||
:operatingsystemrelease => '7',
|
||||
:os => { :name => 'CentOS', :family => 'RedHat', :release => { :major => '7', :minor => '0' } },
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user