summaryrefslogtreecommitdiffstats
path: root/lib/puppet/configuration.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-08-14 18:25:08 -0500
committerLuke Kanies <luke@madstop.com>2007-08-14 18:25:08 -0500
commit90a9d09cd08ec072530e2f000e9f7b65f1c41095 (patch)
tree577d4d0895fca2c4207125548d98a3ca9a0a6bed /lib/puppet/configuration.rb
parentaab419b8c1ad84e51c6f58839290bbe5d1e7b28b (diff)
downloadpuppet-90a9d09cd08ec072530e2f000e9f7b65f1c41095.tar.gz
puppet-90a9d09cd08ec072530e2f000e9f7b65f1c41095.tar.xz
puppet-90a9d09cd08ec072530e2f000e9f7b65f1c41095.zip
Finalizing the node handler. It now correctly uses the different node sources
and knows how to retrieve data from those sources. Now I just need to fix the language stuff to use this handler instead of the existing node stuff.
Diffstat (limited to 'lib/puppet/configuration.rb')
-rw-r--r--lib/puppet/configuration.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/puppet/configuration.rb b/lib/puppet/configuration.rb
index 65e0d9fa8..574038338 100644
--- a/lib/puppet/configuration.rb
+++ b/lib/puppet/configuration.rb
@@ -122,7 +122,11 @@ module Puppet
"The configuration file that defines the rights to the different
namespaces and methods. This can be used as a coarse-grained
authorization system for both ``puppetd`` and ``puppetmasterd``."
- ]
+ ],
+ :environment => ["", "The environment Puppet is running in. For clients (e.g., ``puppetd``) this
+ determines the environment itself, which is used to find modules and much more. For
+ servers (i.e., ``puppetmasterd``) this provides the default environment for nodes we
+ know nothing about."]
)
hostname = Facter["hostname"].value
@@ -544,7 +548,9 @@ module Puppet
setdefaults(:parser,
:typecheck => [true, "Whether to validate types during parsing."],
- :paramcheck => [true, "Whether to validate parameters during parsing."]
+ :paramcheck => [true, "Whether to validate parameters during parsing."],
+ :node_source => ["", "Where to look for node configuration information.
+ See the `NodeSourceReference`:trac: for more information."]
)
setdefaults(:main,