diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-07-23 09:25:34 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-07-23 09:25:34 -0700 |
commit | 731c07e8768cbe39d75aa55f71fa69a06c6359c2 (patch) | |
tree | dd3cb4e354d91f8ee472202f54dd91bdf1b9d451 /lib | |
parent | 730aee4ef999b73a16d13a6792e10343dbdcabea (diff) | |
parent | c1297755d4af11eb918ad987983ebd8398e38f58 (diff) |
Merge pull request #80 from jeffmccune/fix/2.3.x/go_green
Fix up 2.3.x for new scope
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/functions/get_module_path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/get_module_path.rb b/lib/puppet/parser/functions/get_module_path.rb index 4d2b50b..1421b91 100644 --- a/lib/puppet/parser/functions/get_module_path.rb +++ b/lib/puppet/parser/functions/get_module_path.rb @@ -7,7 +7,7 @@ module Puppet::Parser::Functions $module_path = get_module_path('stdlib') EOT ) do |args| - raise(Puppet::ParseError, "get_module_name(): Wrong number of arguments, expects one") unless args.size == 1 + raise(Puppet::ParseError, "get_module_path(): Wrong number of arguments, expects one") unless args.size == 1 if module_path = Puppet::Module.find(args[0], compiler.environment.to_s) module_path.path else |