summaryrefslogtreecommitdiffstats
path: root/lib/puppet.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-05 00:08:15 -0500
committerLuke Kanies <luke@madstop.com>2007-10-05 00:08:15 -0500
commit275af562b462813ddf5ddbad2192ddc2bf57770c (patch)
treeaceabf68095b8c34fd599f245022a9aaab0984da /lib/puppet.rb
parentce0178316d8cefd072f53d39b59ce47332f6ec8f (diff)
parent29accba1b9343f4967c15d36506b3bf60d5f0f9c (diff)
downloadpuppet-275af562b462813ddf5ddbad2192ddc2bf57770c.tar.gz
puppet-275af562b462813ddf5ddbad2192ddc2bf57770c.tar.xz
puppet-275af562b462813ddf5ddbad2192ddc2bf57770c.zip
Merge branch 'routing' of http://git.rickbradley.com/puppet into routing
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r--lib/puppet.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb
index c1f31e467..c09ec5971 100644
--- a/lib/puppet.rb
+++ b/lib/puppet.rb
@@ -117,6 +117,8 @@ module Puppet
# Load all of the configuration parameters.
require 'puppet/defaults'
+ # Prints the contents of a config file with the available config elements, or it
+ # prints a single value of a config element.
def self.genconfig
if Puppet[:configprint] != ""
val = Puppet[:configprint]
@@ -428,4 +430,3 @@ if Puppet[:storeconfigs]
require 'puppet/rails'
end
-# $Id$