puppet-neutron/lib/puppet/provider/neutron_l2gw_agent_config/ini_setting.rb
Peng Liu d564aee3ac Add support for l2 Gateway
Introduce puppet classes to configure networking-l2gw agent service
Introduce puppet classes to configure networking-l2gw plugin

Implements: blueprint l2gw-service-integration

Change-Id: I1082cbf9665ed9fbb441705a5e2b2aa97aae5d6f
Signed-off-by: Peng Liu <pliu@redhat.com>
2017-03-07 13:02:41 +08:00

16 lines
338 B
Ruby

Puppet::Type.type(:neutron_l2gw_agent_config).provide(
:ini_setting,
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
) do
def self.file_path
'/etc/neutron/l2gateway_agent.ini'
end
# added for backwards compatibility with older versions of inifile
def file_path
self.class.file_path
end
end