summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-11 17:59:34 -0600
committerLuke Kanies <luke@madstop.com>2008-02-11 17:59:34 -0600
commitfd0c5cbddec8dc53196a3b84e33e1000c3c0720f (patch)
treecf5a4460e03f34285a81bce38e7ad2566c16edad /lib/puppet/parser/functions.rb
parent5ebaa8953155d091ed5b5c68c3862c9f695f03c0 (diff)
downloadpuppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.tar.gz
puppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.tar.xz
puppet-fd0c5cbddec8dc53196a3b84e33e1000c3c0720f.zip
Changing the name of the Compile class to Compiler,
since it's stupid to have a class named after a verb.
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.