aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMelissa Stone <melissa@puppet.com>2018-10-01 11:15:18 -0700
committerMelissa Stone <melissa@puppet.com>2018-10-01 11:30:23 -0700
commitc5c0515131d6aad62f80efef8b8db8d7d9a83aee (patch)
tree6ef8332cee53145134839a25fd18e75b11c0a971 /lib
parentf18d2fc5158b2186cbedc1e4b258e738452ec60b (diff)
downloadpuppet-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')
-rw-r--r--lib/puppet/provider/augeas/augeas.rb2
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