From b249f87a8c9a7e358e8d82d658247cd4be01a3d7 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 16 Apr 2009 18:47:23 -0500 Subject: Fixing #2149 - Facts are passed as part of the catalog request This removes the requirement of shared fact caching on the servers, since the server responding to the catalog request will receive the facts as part of the request. The facts are serialized as a parameter to the request, rather than each being set as a separate request parameter. This hard-codes yaml as the serialization format for the facts, because I couldn't get marshal to work and it's just not as big a deal for such a small amount of data. Signed-off-by: Luke Kanies --- lib/puppet/application/puppetd.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/puppet/application') diff --git a/lib/puppet/application/puppetd.rb b/lib/puppet/application/puppetd.rb index cacb84361..7a92db11d 100644 --- a/lib/puppet/application/puppetd.rb +++ b/lib/puppet/application/puppetd.rb @@ -222,7 +222,6 @@ Puppet::Application.new(:puppetd) do Puppet::Resource::Catalog.cache_class = :yaml Puppet::Node::Facts.terminus_class = :facter - Puppet::Node::Facts.cache_class = :rest # We need tomake the client either way, we just don't start it # if --no-client is set. -- cgit