summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/node/null.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-11 14:31:13 -0600
committerLuke Kanies <luke@madstop.com>2007-12-11 14:31:13 -0600
commit7ac3bd79621f6c66cd3b5b7041aeba83c27c3602 (patch)
treef0683599b09bb25e885f1f73bbf21e5b3275abe0 /lib/puppet/indirector/node/null.rb
parenta21ee0059fbfc31988430e7e6bf0d102cb6f1d5a (diff)
downloadpuppet-7ac3bd79621f6c66cd3b5b7041aeba83c27c3602.tar.gz
puppet-7ac3bd79621f6c66cd3b5b7041aeba83c27c3602.tar.xz
puppet-7ac3bd79621f6c66cd3b5b7041aeba83c27c3602.zip
Renaming the 'null' terminus type to 'plain', as
requested in #960.
Diffstat (limited to 'lib/puppet/indirector/node/null.rb')
-rw-r--r--lib/puppet/indirector/node/null.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/puppet/indirector/node/null.rb b/lib/puppet/indirector/node/null.rb
deleted file mode 100644
index f7c4d25ea..000000000
--- a/lib/puppet/indirector/node/null.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require 'puppet/node'
-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 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)
- node = super
- node.fact_merge
- node
- end
-end