summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/config.rb
blob: 45cb6b15632afa307ed9295407765e32bd324e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'puppet/face'

Puppet::Face.define(:config, '0.0.1') do
  action(:print) do
    when_invoked do |*args|
      options = args.pop
      Puppet.settings[:configprint] = args.join(",")
      Puppet.settings.print_config_options
      nil
    end
  end
end