summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-13 16:36:19 -0600
committerLuke Kanies <luke@madstop.com>2008-02-13 16:36:19 -0600
commitfe02591eaad7c8648699b53c9361ffab851e2022 (patch)
treef5bf0f8c4ddb03756f072f7446d721680880ad52 /lib
parent9b1bfc1e2eadc8fc56dc8df1510b5dec977524f4 (diff)
downloadpuppet-fe02591eaad7c8648699b53c9361ffab851e2022.tar.gz
puppet-fe02591eaad7c8648699b53c9361ffab851e2022.tar.xz
puppet-fe02591eaad7c8648699b53c9361ffab851e2022.zip
Fixed #1003 -- Applying DavidS's patch to fix searching for
tags in sql.
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/parser/collector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/collector.rb b/lib/puppet/parser/collector.rb
index e0c37cd35..2699dc6e1 100644
--- a/lib/puppet/parser/collector.rb
+++ b/lib/puppet/parser/collector.rb
@@ -51,7 +51,7 @@ class Puppet::Parser::Collector
search = "(exported=? AND restype=?)"
values = [true, @type]
- search += " AND (?)" and values << @equery if @equery
+ search += " AND (%s)" % @equery if @equery
# We're going to collect objects from rails, but we don't want any
# objects from this host.