summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/node/null.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-10 22:50:43 -0600
committerLuke Kanies <luke@madstop.com>2007-12-10 22:50:43 -0600
commit862d1f7acda853d63ef74343f0f54d761017c9e5 (patch)
treea64bbec7c0496d105469ac16cf84d1e0015d2b1a /lib/puppet/indirector/node/null.rb
parentda77e4af9a776ef9c6bebe1d2117c4714e08f4ce (diff)
downloadpuppet-862d1f7acda853d63ef74343f0f54d761017c9e5.tar.gz
puppet-862d1f7acda853d63ef74343f0f54d761017c9e5.tar.xz
puppet-862d1f7acda853d63ef74343f0f54d761017c9e5.zip
Adding an Indirection reference, along with the work
necessary to support it.
Diffstat (limited to 'lib/puppet/indirector/node/null.rb')
-rw-r--r--lib/puppet/indirector/node/null.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/indirector/node/null.rb b/lib/puppet/indirector/node/null.rb
index 4c5c1261b..f7c4d25ea 100644
--- a/lib/puppet/indirector/node/null.rb
+++ b/lib/puppet/indirector/node/null.rb
@@ -4,7 +4,10 @@ require 'puppet/indirector/null'
class Puppet::Node::Null < Puppet::Indirector::Null
desc "Always return an empty node object. This is the node source you should
use when you don't have some other, functional source you want to use,
- as the compiler will not work without this node information."
+ as the compiler will not work without a valid node terminus.
+
+ Note that class is responsible for merging the node's facts into the node
+ instance before it is returned."
# Just return an empty node.
def find(name)