puppet-neutron/lib/puppet/provider/neutron_rootwrap_config/ini_setting.rb
Michal Adamczyk f0101c709f Xenserver - adding type and provider too manage rootwrap.conf
This simple patch is adding following stuff:

1. Adding minimize_polling parameter to ovs ml2 agent class.
2. Adding type and provider to mange rootwrap.conf file
mainly to manipulate XenServer connection parameters.

Change-Id: I3dad47a34af7bab7eefe46db39b3a5eedc7c3c7f
2017-01-04 08:22:57 +01:00

16 lines
330 B
Ruby

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