diff options
| author | Markus Roberts <Markus@reality.com> | 2010-06-24 11:59:27 -0700 |
|---|---|---|
| committer | Markus Roberts <Markus@reality.com> | 2010-06-24 15:59:11 -0700 |
| commit | db44a32695ae2b1249461f187b4b3321c24cfd84 (patch) | |
| tree | d5f178f1dc94b5551828546cff02760457f76420 /lib/puppet/parser | |
| parent | 3bd6f110852fadbc1ef707f0705dc3bc969ce8e4 (diff) | |
Tweak for fix for #1175 to fix test failures
Tests that weren't managing the environment but were still expecting to have
functions defined in it were appalled when the functions/environments binding
actually started working. This patch fixes those tests.
Diffstat (limited to 'lib/puppet/parser')
| -rw-r--r-- | lib/puppet/parser/scope.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb index bb548dd47..39317a729 100644 --- a/lib/puppet/parser/scope.rb +++ b/lib/puppet/parser/scope.rb @@ -497,6 +497,6 @@ class Puppet::Parser::Scope def extend_with_functions_module extend Puppet::Parser::Functions.environment_module(Puppet::Node::Environment.root) - extend Puppet::Parser::Functions.environment_module(compiler ? environment : nil ) + extend Puppet::Parser::Functions.environment_module(compiler ? environment : nil) end end |
