puppet-neutron/lib/puppet/provider/neutron_l3_agent_config/ini_setting.rb
Takashi Kajinami 44d61b4d29 Remove transformer to set [DEFAULT] router_id
The router_id parameter was removed from Neutron[1] and its support was
removed from puppet-neutron long ago[2]. The transformer has not been
used since then.

[1] 448bc8e5220d3633f9c9ee804de0a38c2d829d78
[2] a30d2e7d77

Change-Id: I6ed1cc97cb7115bedcf0ee3204396828e8913835
2022-07-08 01:18:27 +09:00

18 lines
432 B
Ruby

require File.join(File.dirname(__FILE__), '..','..','..',
'puppet/provider/neutron')
Puppet::Type.type(:neutron_l3_agent_config).provide(
:ini_setting,
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
) do
def self.file_path
'/etc/neutron/l3_agent.ini'
end
# added for backwards compatibility with older versions of inifile
def file_path
self.class.file_path
end
end