summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-02-13 20:29:00 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-02-13 20:29:00 +1100
commitd3959c497f4c61995f664d88aa3386b54c4baf8d (patch)
tree1a83a85c0c6d626781cad5632db146aeae49d0c9 /lib/puppet/parser/functions.rb
parentc3ead0331adba5f60ea7d508775a89de68e26caa (diff)
parentbcb9b564281003e22d72752d84fa9dc9c8c7107b (diff)
downloadpuppet-d3959c497f4c61995f664d88aa3386b54c4baf8d.tar.gz
puppet-d3959c497f4c61995f664d88aa3386b54c4baf8d.tar.xz
puppet-d3959c497f4c61995f664d88aa3386b54c4baf8d.zip
Merge branch '0.24.x' of git://reductivelabs.com/puppet into 0.24.x
Diffstat (limited to 'lib/puppet/parser/functions.rb')
-rw-r--r--lib/puppet/parser/functions.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb
index 34b38b809..e0b60e161 100644
--- a/lib/puppet/parser/functions.rb
+++ b/lib/puppet/parser/functions.rb
@@ -111,7 +111,7 @@ module Functions
vals = [vals] unless vals.is_a?(Array)
# The 'false' disables lazy evaluation.
- klasses = compile.evaluate_classes(vals, self, false)
+ klasses = compiler.evaluate_classes(vals, self, false)
missing = vals.find_all do |klass|
! klasses.include?(klass)
@@ -146,7 +146,7 @@ module Functions
tells you whether the current container is tagged with the specified tags.
The tags are ANDed, so that all of the specified tags must be included for
the function to return true.") do |vals|
- configtags = compile.catalog.tags
+ configtags = compiler.catalog.tags
resourcetags = resource.tags
retval = true
@@ -235,7 +235,7 @@ module Functions
vals = [vals] unless vals.is_a?(Array)
coll.resources = vals
- compile.add_collection(coll)
+ compiler.add_collection(coll)
end
newfunction(:search, :doc => "Add another namespace for this class to search.