diff options
author | Melissa Stone <melissa@puppet.com> | 2018-10-01 11:15:18 -0700 |
---|---|---|
committer | Melissa Stone <melissa@puppet.com> | 2018-10-01 11:30:23 -0700 |
commit | c5c0515131d6aad62f80efef8b8db8d7d9a83aee (patch) | |
tree | 6ef8332cee53145134839a25fd18e75b11c0a971 /lib/puppet | |
parent | f18d2fc5158b2186cbedc1e4b258e738452ec60b (diff) | |
download | puppet-augeas_core-c5c0515131d6aad62f80efef8b8db8d7d9a83aee.tar.gz puppet-augeas_core-c5c0515131d6aad62f80efef8b8db8d7d9a83aee.tar.bz2 |
(MODULES-8014) relatively require helper code
Prior to this commit, when the augeas_core module was installed via
`puppet module install`, the helper code loaded came from the vendored
module rather than the installed module. Moving the `require` to
`require_relative` fixes that.
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/augeas/augeas.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/augeas/augeas.rb b/lib/puppet/provider/augeas/augeas.rb index 7704955..bfa3852 100644 --- a/lib/puppet/provider/augeas/augeas.rb +++ b/lib/puppet/provider/augeas/augeas.rb @@ -18,7 +18,7 @@ require 'strscan' require 'puppet/util' require 'puppet/util/diff' require 'puppet/util/package' -require 'puppet_x/augeas/util/parser' +require_relative '../../../puppet_x/augeas/util/parser' Puppet::Type.type(:augeas).provide(:augeas) do include Puppet::Util |