854ece099a
OVN is part of Neutron since Ussuri [1]. As such, there is no longer a separate python-networking-ovn package that needs to be installed. This change removes the logic to install the separate plugin package, and also updates the config file path to use the file provided by the current neutron package. In addition, this change ensures the ovn-metadata-agent package is installed in Ubuntu/Debian as well. [1] https://docs.openstack.org/releasenotes/neutron/ussuri.html#relnotes-16-0-0-stable-ussuri Closes-Bug: #1945973 Change-Id: I8e32e0ca02b841058dc71f00a72b825e6441c1d3
16 lines
349 B
Ruby
16 lines
349 B
Ruby
Puppet::Type.type(:ovn_metadata_agent_config).provide(
|
|
:ini_setting,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/neutron/neutron_ovn_metadata_agent.ini'
|
|
end
|
|
|
|
# added for backwards compatibility with older versions of inifile
|
|
def file_path
|
|
self.class.file_path
|
|
end
|
|
|
|
end
|