summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/node/plain.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/indirector/node/plain.rb')
-rw-r--r--lib/puppet/indirector/node/plain.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/puppet/indirector/node/plain.rb b/lib/puppet/indirector/node/plain.rb
index 37ceb064d..d648cce8d 100644
--- a/lib/puppet/indirector/node/plain.rb
+++ b/lib/puppet/indirector/node/plain.rb
@@ -2,18 +2,18 @@ require 'puppet/node'
require 'puppet/indirector/plain'
class Puppet::Node::Plain < Puppet::Indirector::Plain
- desc "Always return an empty node object. Assumes you keep track of nodes
- in flat file manifests. You should use it when you don't have some other,
- functional source you want to use, as the compiler will not work without a
- valid node terminus.
+ desc "Always return an empty node object. Assumes you keep track of nodes
+ in flat file manifests. You should use it 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."
+ 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(request)
- node = super
- node.fact_merge
- node
- end
+ # Just return an empty node.
+ def find(request)
+ node = super
+ node.fact_merge
+ node
+ end
end