f77ef0ec65
The configuration of vpnaas and lbaas services created additional files that were never included in the service startup. The lbaas service config provider was updated to put service providers directly into neutron.conf but now if we update vpnaas to do the same we will fail being idempotent since both providers will overwrite each other. This change moves neutron_config provider from ini_setting to openstackconfig to handle the multi-value of service_provider and adds a variable to neutron::server to manage service providers. Closes-Bug: 1578912 Change-Id: I69b7635984fe74038db2025b89f638def5029849
16 lines
317 B
Ruby
16 lines
317 B
Ruby
Puppet::Type.type(:neutron_config).provide(
|
|
:openstackconfig,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/neutron/neutron.conf'
|
|
end
|
|
|
|
# added for backwards compatibility with older versions of inifile
|
|
def file_path
|
|
self.class.file_path
|
|
end
|
|
|
|
end
|