Fixed require statements for puppet 4

This change updates the require statements in the providers
to resolve the issues with the autoloader in puppet. This
issue technically always existed but was masked prior to the
split with puppet server and puppet agent because both used to
share the same loadpath. Documentation on this issue can be
read at https://tickets.puppetlabs.com/browse/PUP-4450.

Change-Id: I72a27fe92a41a5eb845adba6b82252b8aac1c164
This commit is contained in:
Matthew J Black 2016-05-16 12:51:59 -04:00
parent 45f8a57770
commit 06a9784af4
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
require 'puppet/provider/openstack/credentials'
#require 'puppet/provider/openstack/credentials'
require File.join(File.dirname(__FILE__), '..','..','..', 'puppet/provider/openstack/credentials')
module Puppet::Provider::Openstack::Auth