From 368210e8a8a35cf2cae509b1d357337f9958cdff Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 22 Feb 2011 17:38:04 -0800 Subject: Adding a simple "config" app Signed-off-by: Luke Kanies --- lib/puppet/interface/config.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/puppet/interface/config.rb (limited to 'lib/puppet/interface') diff --git a/lib/puppet/interface/config.rb b/lib/puppet/interface/config.rb new file mode 100644 index 000000000..501099a64 --- /dev/null +++ b/lib/puppet/interface/config.rb @@ -0,0 +1,10 @@ +require 'puppet/interface' + +Puppet::Interface.new(:config) do + action(:print) do |*args| + if name + Puppet.settings[:configprint] = args.join(",") + end + Puppet.settings.print_config_options + end +end -- cgit