summaryrefslogtreecommitdiffstats
path: root/lib/puppet.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-03 17:32:40 -0500
committerLuke Kanies <luke@madstop.com>2007-10-03 17:32:40 -0500
commitf8c8efeff6f08cf8c23075311ce14bfd4decedb0 (patch)
tree4e0c39069fdff45f003b7e51783e6c0f579006b6 /lib/puppet.rb
parent5d50ca790e7f752e07da84197b52ff84d2dcfdb4 (diff)
parent1be1db91c2ff3103c900da9ba3a3ba533d2587e7 (diff)
downloadpuppet-f8c8efeff6f08cf8c23075311ce14bfd4decedb0.tar.gz
puppet-f8c8efeff6f08cf8c23075311ce14bfd4decedb0.tar.xz
puppet-f8c8efeff6f08cf8c23075311ce14bfd4decedb0.zip
Merge branch 'master' of git://michaelobrien.info/puppet
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r--lib/puppet.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb
index c1f31e467..538a3335f 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]