Add File.expand_path to cinder.rb

It happened to me that a few times, puppet cannot load cinder.rb.
This should fix it.

Change-Id: I6c44eaca24fb8aed538da9064fe91e40786216b2
This commit is contained in:
Thomas Goirand 2018-11-28 15:55:21 +01:00
parent 9eb2b6329c
commit 3d7128c55d
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
File.expand_path('../../../../openstacklib/lib', File.dirname(__FILE__)).tap { |dir| $LOAD_PATH.unshift(dir) unless $LOAD_PATH.include?(dir) }
require 'puppet/util/inifile'
require 'puppet/provider/openstack'
require 'puppet/provider/openstack/auth'