summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/agent.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/application/agent.rb')
-rw-r--r--lib/puppet/application/agent.rb4
1 files changed, 3 insertions, 1 deletions
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.