[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Jacob Helwig
jacob at puppetlabs.com
Tue May 10 08:15:06 UTC 2011
The following commit has been merged in the experimental branch:
commit a509821f6c2da0a07bc63af433f6e36061d4f241
Author: Jacob Helwig <jacob at puppetlabs.com>
Date: Thu Apr 14 15:56:49 2011 -0700
Cleanup trailing whitespace
diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index 99f1c6e..a8bb441 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -222,12 +222,12 @@ class Puppet::Parser::Scope
private :qualified_scope
- # Look up a variable. The simplest value search we do.
+ # Look up a variable. The simplest value search we do.
def lookupvar(name, options = {})
table = ephemeral?(name) ? @ephemeral.last : @symtable
# If the variable is qualified, then find the specified scope and look the variable up there instead.
if name =~ /^(.*)::(.+)$/
- begin
+ begin
qualified_scope($1).lookupvar($2,options)
rescue RuntimeError => e
location = (options[:file] && options[:line]) ? " at #{options[:file]}:#{options[:line]}" : ''
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list