From 9d0a38ee1baa295fb8d2b69f13cbfc91b5de5800 Mon Sep 17 00:00:00 2001 From: Rein Henrichs Date: Mon, 7 Jun 2010 15:45:45 -0700 Subject: [#3921] Add facts_terminus setting to Puppet settings * defaults to "facter" --- lib/puppet/application/agent.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/puppet/application') diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb index 609a4580a..8353dd89f 100644 --- a/lib/puppet/application/agent.rb +++ b/lib/puppet/application/agent.rb @@ -246,9 +246,11 @@ class Puppet::Application::Agent < Puppet::Application # You can still override this on the command-line with, e.g., :compiler. Puppet[:catalog_terminus] = :rest + # Override the default. + Puppet[:fact_terminus] = :facter + Puppet::Resource::Catalog.cache_class = :yaml - Puppet::Node::Facts.terminus_class = :facter # We need tomake the client either way, we just don't start it # if --no-client is set. -- cgit