diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fd8dc244..eca824acb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ #### Features #### Fixes +* Fix "Could not autoload" errors in more types/providers. ## 6.4.0 (August 28, 2019) diff --git a/lib/puppet/provider/elasticsearch_plugin/plugin.rb b/lib/puppet/provider/elasticsearch_plugin/plugin.rb index 33b6c8c64..0e24b7cec 100644 --- a/lib/puppet/provider/elasticsearch_plugin/plugin.rb +++ b/lib/puppet/provider/elasticsearch_plugin/plugin.rb @@ -1,4 +1,4 @@ -require 'puppet/provider/elastic_plugin' +require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/elastic_plugin') Puppet::Type.type(:elasticsearch_plugin).provide( :plugin, diff --git a/lib/puppet/provider/elasticsearch_user_file/oss_xpack.rb b/lib/puppet/provider/elasticsearch_user_file/oss_xpack.rb index a160bea7d..d2cf05e58 100644 --- a/lib/puppet/provider/elasticsearch_user_file/oss_xpack.rb +++ b/lib/puppet/provider/elasticsearch_user_file/oss_xpack.rb @@ -1,4 +1,4 @@ -require 'puppet/provider/elastic_parsedfile' +require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/elastic_parsedfile') Puppet::Type.type(:elasticsearch_user_file).provide( :oss_xpack, diff --git a/lib/puppet/provider/elasticsearch_user_file/shield.rb b/lib/puppet/provider/elasticsearch_user_file/shield.rb index a6f15f658..8af1a7792 100644 --- a/lib/puppet/provider/elasticsearch_user_file/shield.rb +++ b/lib/puppet/provider/elasticsearch_user_file/shield.rb @@ -1,4 +1,4 @@ -require 'puppet/provider/elastic_parsedfile' +require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/elastic_parsedfile') Puppet::Type.type(:elasticsearch_user_file).provide( :shield, diff --git a/lib/puppet/provider/elasticsearch_user_file/xpack.rb b/lib/puppet/provider/elasticsearch_user_file/xpack.rb index 318ad35bb..3afcef526 100644 --- a/lib/puppet/provider/elasticsearch_user_file/xpack.rb +++ b/lib/puppet/provider/elasticsearch_user_file/xpack.rb @@ -1,4 +1,4 @@ -require 'puppet/provider/elastic_parsedfile' +require File.join(File.dirname(__FILE__), '..', '..', '..', 'puppet/provider/elastic_parsedfile') Puppet::Type.type(:elasticsearch_user_file).provide( :xpack,