blob: d1f6d5a9e3e640053abb8b4e5b2e039903e2c21f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require 'puppet/face'
Puppet::Face.define(:config, '0.0.1') do
summary "Interact with Puppet configuration options."
action(:print) do
when_invoked do |*args|
options = args.pop
Puppet.settings[:configprint] = args.join(",")
Puppet.settings.print_config_options
nil
end
end
end
|