diff options
Diffstat (limited to 'lib/puppet/interface/config.rb')
| -rw-r--r-- | lib/puppet/interface/config.rb | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
