Make the neutron_l3_agent provider compatible with Puppet 4

We need to change the way it requires puppet/provider/neutron, or
it will fail with:

"Error: Could not autoload
puppet/provider/neutron_l3_agent_config/ini_setting: cannot load
such file -- puppet/provider/neutron"

Change-Id: Ic6f494b4c614d604f5691c95b2f67705a91bf682
This commit is contained in:
Javier Pena 2016-10-07 16:34:40 +02:00
parent 40d85012f4
commit 3a456e1de1
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
require 'puppet/provider/neutron'
require File.join(File.dirname(__FILE__), '..','..','..',
'puppet/provider/neutron')
Puppet::Type.type(:neutron_l3_agent_config).provide(
:ini_setting,