diff options
author | Luke Kanies <luke@madstop.com> | 2007-08-25 15:54:06 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-08-25 15:54:06 -0500 |
commit | 37f0eed9657810c1b9e1d6383e6d6ebb027aff2f (patch) | |
tree | 4a99038864044be35e38cd52bba495883cc36344 /lib/puppet/parser/functions.rb | |
parent | deb0107ed945c25776d10f9e9b9d721b69ec3478 (diff) | |
download | puppet-37f0eed9657810c1b9e1d6383e6d6ebb027aff2f.tar.gz puppet-37f0eed9657810c1b9e1d6383e6d6ebb027aff2f.tar.xz puppet-37f0eed9657810c1b9e1d6383e6d6ebb027aff2f.zip |
Renaming the "configuration" object to "compile", because it is only a transitional object and I want the real "configuration" object to be the thing that I pass from the server to the client; it will be a subclass of GRATR::Digraph.
Diffstat (limited to 'lib/puppet/parser/functions.rb')
-rw-r--r-- | lib/puppet/parser/functions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb index ad58c7040..895b4f083 100644 --- a/lib/puppet/parser/functions.rb +++ b/lib/puppet/parser/functions.rb @@ -110,7 +110,7 @@ module Functions # Include the specified classes newfunction(:include, :doc => "Evaluate one or more classes.") do |vals| vals = [vals] unless vals.is_a?(Array) - klasses = configuration.evaluate_classes(vals) + klasses = compile.evaluate_classes(vals) missing = vals.find_all do |klass| ! klasses.include?(klass) @@ -145,7 +145,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| - classlist = configuration.classlist + classlist = compile.classlist retval = true vals.each do |val| @@ -235,7 +235,7 @@ module Functions vals = [vals] unless vals.is_a?(Array) coll.resources = vals - configuration.add_collection(coll) + compile.add_collection(coll) end newfunction(:search, :doc => "Add another namespace for this class to search. |