puppet-neutron/lib/puppet/provider/neutron_plugin_nsx/ini_setting.rb
Tong Liu 04917ff1dd Add support for nsx_v3 plugin
The plugin will have the following ini file:
/etc/neutron/plugins/vmware/nsx.ini

The configurations for the plugin will be in the
[nsx_v3] section.

Co-Authored-By: Gary Kotton <gkotton@vmware.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>

Change-Id: I2c378acdc6b11e431edea27bba00bb815b79623c
2017-04-11 11:12:20 -06:00

16 lines
334 B
Ruby

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