summaryrefslogtreecommitdiffstats
path: root/lib/puppet/string/v0.0.1/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/string/v0.0.1/config.rb')
-rw-r--r--lib/puppet/string/v0.0.1/config.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/puppet/string/v0.0.1/config.rb b/lib/puppet/string/v0.0.1/config.rb
new file mode 100644
index 000000000..ae1a408cf
--- /dev/null
+++ b/lib/puppet/string/v0.0.1/config.rb
@@ -0,0 +1,11 @@
+require 'puppet/string'
+
+Puppet::String.define(:config, '0.0.1') do
+ action(:print) do
+ invoke do |*args|
+ Puppet.settings[:configprint] = args.join(",")
+ Puppet.settings.print_config_options
+ nil
+ end
+ end
+end