puppet-neutron/lib/puppet/provider/neutron_bgpvpn_service_config/openstackconfig.rb
Ricardo Noriega 35a06cd0d8 Add support for BGPVPN plugin
Introduce puppet classes to configure networking-bgpvpn service
  plugin

Implements: blueprint bgpvpn-service-integration

Change-Id: I317f3cc05381889a315a5886a1d49ebba8756482
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-01-30 10:20:43 +01:00

16 lines
342 B
Ruby

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