repopen 445591
tags 445591 patch
thanks
Thanks for adding the patch from
http://reductivelabs.com/trac/puppet/attachment/ticket/786/freshness.diff
to fix this, however its not the complete solution.
It turns out the information in http:/reductivelabs.com/trac/puppet/ticket/731
is also necessary, the following patch makes -11 work properly:
--- collector.rb 2007-10-16 15:42:44.000000000 -0400
+++ /usr/lib/ruby/1.8/puppet/parser/collector.rb 2007-08-06
22:39:44.000000000 -0400
@@ -23,8 +23,7 @@
host = Puppet::Rails::Host.find_by_name(@scope.host)
args = {:include => {:param_values => :param_name}}
- args[:conditions] = "(exported = '%s' AND restype = '%s')" %
- [ActiveRecord::Base.connection.quote(true), @type]
+ args[:conditions] = "(exported = 't' AND restype = '%s')" % [EMAIL
PROTECTED]
if @equery
args[:conditions] += " AND (%s)" % [EMAIL PROTECTED]
end
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]