summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/interface')
-rw-r--r--lib/puppet/interface/facts.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/interface/facts.rb b/lib/puppet/interface/facts.rb
index 411416710..e40bb56d0 100644
--- a/lib/puppet/interface/facts.rb
+++ b/lib/puppet/interface/facts.rb
@@ -1,6 +1,8 @@
require 'puppet/interface'
class Puppet::Interface::Facts < Puppet::Interface
+ set_default_format :yaml
+
# Upload our facts to the server
action(:upload) do |*args|
Puppet::Node::Facts.indirection.terminus_class = :facter