Sha256: bf71c5ffe0315315c70b6559b58612aafbbbfe6b9c3ae3eb5e0a5c55ed05abc5
Contents?: true
Size: 634 Bytes
Versions: 11
Compression:
Stored size: 634 Bytes
Contents
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. 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 end
Version data entries
11 entries across 11 versions & 1 rubygems