puppet-neutron/lib/puppet/provider/neutron_l2gw_service_config/openstackconfig.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
333 B
Ruby

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