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

Puppet::String.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