Browse Source

Fix wrong package name in unit tests

This fixes the wrong package name introduced in unit tests by
34b5036ed8 . In CentOS7 package names
shoukd be python-* instead of python2-*.

Change-Id: I14fba7a1c4a1ce23a0f6008fd52cf6ef33e4880d
changes/81/791081/1
Takashi Kajinami 3 months ago
parent
commit
260aa9fe29
  1. 2
      spec/classes/neutron_agents_ml2_networking_baremetal_spec.rb
  2. 2
      spec/classes/neutron_plugins_ml2_networking_ansible_spec.rb
  3. 2
      spec/classes/neutron_plugins_ml2_networking_baremetal_spec.rb

2
spec/classes/neutron_agents_ml2_networking_baremetal_spec.rb

@ -109,7 +109,7 @@ describe 'neutron::agents::ml2::networking_baremetal' do
{ :networking_baremetal_agent_package => 'python3-ironic-neutron-agent',
:networking_baremetal_agent_service => 'ironic-neutron-agent' }
else
{ :networking_baremetal_agent_package => 'python2-ironic-neutron-agent',
{ :networking_baremetal_agent_package => 'python-ironic-neutron-agent',
:networking_baremetal_agent_service => 'ironic-neutron-agent' }
end
end

2
spec/classes/neutron_plugins_ml2_networking_ansible_spec.rb

@ -79,7 +79,7 @@ describe 'neutron::plugins::ml2::networking_ansible' do
if facts[:operatingsystemmajrelease] > '7'
{ :networking_ansible_package => 'python3-networking-ansible'}
else
{ :networking_ansible_package => 'python2-networking-ansible'}
{ :networking_ansible_package => 'python-networking-ansible'}
end
end
end

2
spec/classes/neutron_plugins_ml2_networking_baremetal_spec.rb

@ -45,7 +45,7 @@ describe 'neutron::plugins::ml2::networking_baremetal' do
if facts[:operatingsystemmajrelease] > '7'
{ :networking_baremetal_package => 'python3-networking-baremetal'}
else
{ :networking_baremetal_package => 'python2-networking-baremetal'}
{ :networking_baremetal_package => 'python-networking-baremetal'}
end
end
end

Loading…
Cancel
Save