Please review pull request #268: Default to printing all options - Issue #10950 opened by (deanwilson)

Description:

Default to printing all options

  • Opened: Tue Dec 13 18:26:04 UTC 2011
  • Based on: puppetlabs:master (464a279c7425643188024ba7f98392b9057d6e35)
  • Requested merge: deanwilson:issue-10950 (d11ec9aef54b2cb6bc7954701c317458ffbcfde4)

Diff follows:

diff --git a/lib/puppet/face/config.rb b/lib/puppet/face/config.rb
index 05fc406..2875770 100644
--- a/lib/puppet/face/config.rb
+++ b/lib/puppet/face/config.rb
@@ -37,6 +37,9 @@
 
     when_invoked do |*args|
       options = args.pop
+
+      args = [ "all" ] if args.empty?
+
       Puppet.settings[:configprint] = args.join(",")
       Puppet.settings.print_config_options
       nil

    

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to