summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/puppet/provider/ini_setting/ruby.rb2
-rw-r--r--lib/puppet/util/ini_file.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/provider/ini_setting/ruby.rb b/lib/puppet/provider/ini_setting/ruby.rb
index e44a107..f04af06 100644
--- a/lib/puppet/provider/ini_setting/ruby.rb
+++ b/lib/puppet/provider/ini_setting/ruby.rb
@@ -1,4 +1,4 @@
-require 'puppet/util/ini_file'
+require File.expand_path('../../../util/ini_file', __FILE__)
Puppet::Type.type(:ini_setting).provide(:ruby) do
def exists?
diff --git a/lib/puppet/util/ini_file.rb b/lib/puppet/util/ini_file.rb
index 75d8a9f..51dfda7 100644
--- a/lib/puppet/util/ini_file.rb
+++ b/lib/puppet/util/ini_file.rb
@@ -1,5 +1,5 @@
-require 'puppet/util/external_iterator'
-require 'puppet/util/ini_file/section'
+require File.expand_path('../external_iterator', __FILE__)
+require File.expand_path('../ini_file/section', __FILE__)
module Puppet
module Util
@@ -129,4 +129,4 @@ module Util
end
end
-end \ No newline at end of file
+end