summaryrefslogtreecommitdiffstats
path: root/lib/puppet/configuration.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-08-15 13:55:55 -0500
committerLuke Kanies <luke@madstop.com>2007-08-15 13:55:55 -0500
commit65559af75e3da6522f4c3e952a73d80e0040609c (patch)
tree3a7856db465f4f796fbdad9cac5880dbce563165 /lib/puppet/configuration.rb
parent90a9d09cd08ec072530e2f000e9f7b65f1c41095 (diff)
downloadpuppet-65559af75e3da6522f4c3e952a73d80e0040609c.tar.gz
puppet-65559af75e3da6522f4c3e952a73d80e0040609c.tar.xz
puppet-65559af75e3da6522f4c3e952a73d80e0040609c.zip
Adding a "none" node source, which will be the default node source and will just return an empty node.
Diffstat (limited to 'lib/puppet/configuration.rb')
-rw-r--r--lib/puppet/configuration.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/configuration.rb b/lib/puppet/configuration.rb
index 574038338..a8f6e0c35 100644
--- a/lib/puppet/configuration.rb
+++ b/lib/puppet/configuration.rb
@@ -549,7 +549,9 @@ module Puppet
setdefaults(:parser,
:typecheck => [true, "Whether to validate types during parsing."],
:paramcheck => [true, "Whether to validate parameters during parsing."],
- :node_source => ["", "Where to look for node configuration information.
+ :node_source => ["none", "Where to look for node configuration information.
+ The default node source, ``none``, just returns a node with its facts
+ filled in, which is required for normal functionality.
See the `NodeSourceReference`:trac: for more information."]
)