summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/collector.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-08-25 15:54:06 -0500
committerLuke Kanies <luke@madstop.com>2007-08-25 15:54:06 -0500
commit37f0eed9657810c1b9e1d6383e6d6ebb027aff2f (patch)
tree4a99038864044be35e38cd52bba495883cc36344 /lib/puppet/parser/collector.rb
parentdeb0107ed945c25776d10f9e9b9d721b69ec3478 (diff)
downloadpuppet-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/collector.rb')
-rw-r--r--lib/puppet/parser/collector.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/parser/collector.rb b/lib/puppet/parser/collector.rb
index 0846c40ab..c9d5ed5f0 100644
--- a/lib/puppet/parser/collector.rb
+++ b/lib/puppet/parser/collector.rb
@@ -81,20 +81,20 @@ class Puppet::Parser::Collector
# If there are no more resources to find, delete this from the list
# of collections.
if @resources.empty?
- @scope.configuration.delete_collection(self)
+ @scope.compile.delete_collection(self)
end
return result
end
- # Collect just virtual objects, from our local configuration.
+ # Collect just virtual objects, from our local compile.
def collect_virtual(exported = false)
if exported
method = :exported?
else
method = :virtual?
end
- scope.configuration.resources.find_all do |resource|
+ scope.compile.resources.find_all do |resource|
resource.type == @type and resource.send(method) and match?(resource)
end
end