diff options
author | Stephen <stephen@puppetlabs.com> | 2012-08-13 18:54:01 +0100 |
---|---|---|
committer | Stephen <stephen@puppetlabs.com> | 2012-08-13 18:54:01 +0100 |
commit | dde3a14ab0f5b08aad68ae1975aa1172384774c7 (patch) | |
tree | 4e55712d34decc632aa1b9e181ad4fb42b12659f | |
parent | 9c76b6af1200c71e7ae72e0e2f349919a3081738 (diff) | |
download | puppet-inifile-dde3a14ab0f5b08aad68ae1975aa1172384774c7.tar.gz puppet-inifile-dde3a14ab0f5b08aad68ae1975aa1172384774c7.tar.bz2 |
fix path for require statement
-rw-r--r-- | lib/puppet/provider/ini_setting/ruby.rb | 2 | ||||
-rw-r--r-- | lib/puppet/util/ini_file.rb | 6 |
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 |