diff options
Diffstat (limited to 'lib/puppet/parser/templatewrapper.rb')
-rw-r--r-- | lib/puppet/parser/templatewrapper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/templatewrapper.rb b/lib/puppet/parser/templatewrapper.rb index 36dc62261..6966387cf 100644 --- a/lib/puppet/parser/templatewrapper.rb +++ b/lib/puppet/parser/templatewrapper.rb @@ -28,17 +28,17 @@ class Puppet::Parser::TemplateWrapper # Allow templates to access the defined classes def classes - return scope.catalog.classes + scope.catalog.classes end # Allow templates to access the tags defined in the current scope def tags - return scope.tags + scope.tags end # Allow templates to access the all the defined tags def all_tags - return scope.catalog.tags + scope.catalog.tags end # Ruby treats variables like methods, so we used to expose variables |