puppet-neutron/lib/puppet/provider/neutron_bgpvpn_bagpipe_config/openstackconfig.rb
Ricardo Noriega 7a198387c9 Add support for Bagpipe driver to BGPVPN Service
Introduce puppet classes to configure networking-bagpipe

Implements: blueprint bgpvpn-service-integration

Change-Id: Iad75df03e2e000cb48e3887661ed1475dc14ec02
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-04-04 11:48:59 +02:00

16 lines
340 B
Ruby

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