From 7bda32e9fbb6fb63c5f33fa839f03cc305c2b449 Mon Sep 17 00:00:00 2001 From: luke Date: Sun, 5 Aug 2007 17:57:31 +0000 Subject: Fixing #731 - we are now correctly only collecting exported resources git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2746 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/collector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet') diff --git a/lib/puppet/parser/collector.rb b/lib/puppet/parser/collector.rb index 62eafdd65..6c49c6d57 100644 --- a/lib/puppet/parser/collector.rb +++ b/lib/puppet/parser/collector.rb @@ -23,7 +23,7 @@ class Puppet::Parser::Collector host = Puppet::Rails::Host.find_by_name(@scope.host) args = {:include => {:param_values => :param_name}} - args[:conditions] = "restype = '%s'" % [@type] + args[:conditions] = "(exported = 't' AND restype = '%s')" % [@type] if @equery args[:conditions] += " AND (%s)" % [@equery] end -- cgit