From 06a9784af4fb49d0201e21982270701346afb743 Mon Sep 17 00:00:00 2001 From: Matthew J Black Date: Mon, 16 May 2016 12:51:59 -0400 Subject: [PATCH] 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 --- lib/puppet/provider/openstack/auth.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/puppet/provider/openstack/auth.rb b/lib/puppet/provider/openstack/auth.rb index a7d2c0c0..1dc7e3db 100644 --- a/lib/puppet/provider/openstack/auth.rb +++ b/lib/puppet/provider/openstack/auth.rb @@ -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