Change package name for OVN metadata agent

The right package name is python-networking-ovn-metadata-agent,
not networking-ovn-metadata-agent.

Change-Id: I278ad5521c9529e5bd71f712c44c6a69f485d1b6
This commit is contained in:
Alfredo Moralejo 2018-04-19 16:21:33 +02:00
parent 6c2a18baea
commit a0ca5f1b4d
4 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ Puppet::Type.newtype(:ovn_metadata_agent_config) do
end
autorequire(:package) do
'networking-ovn-metadata-agent'
'python-networking-ovn-metadata-agent'
end
end

View File

@ -71,7 +71,7 @@ class neutron::params {
$vpnaas_agent_package = 'openstack-neutron-vpnaas'
$l2gw_agent_package = 'openstack-neutron-l2gw-agent'
$l2gw_package = 'python2-networking-l2gw'
$ovn_metadata_agent_package = 'networking-ovn-metadata-agent'
$ovn_metadata_agent_package = 'python-networking-ovn-metadata-agent'
if $::operatingsystemrelease =~ /^7.*/ or $::operatingsystem == 'Fedora' {
$openswan_package = 'libreswan'
} else {

View File

@ -118,7 +118,7 @@ describe 'neutron::agents::ovn_metadata' do
end
let :platform_params do
{ :ovn_metadata_agent_package => 'networking-ovn-metadata-agent',
{ :ovn_metadata_agent_package => 'python-networking-ovn-metadata-agent',
:ovn_metadata_agent_service => 'networking-ovn-metadata-agent' }
end

View File

@ -9,7 +9,7 @@ describe 'Puppet::Type.type(:ovn_metadata_agent_config)' do
it 'should autorequire the package that install the file' do
catalog = Puppet::Resource::Catalog.new
package = Puppet::Type.type(:package).new(:name => 'networking-ovn-metadata-agent')
package = Puppet::Type.type(:package).new(:name => 'python-networking-ovn-metadata-agent')
catalog.add_resource package, @ovn_metadata_agent_config
dependency = @ovn_metadata_agent_config.autorequire
expect(dependency.size).to eq(1)