Puppet::Indirector::Couch
Return the facts object or nil if there is no document
# File lib/puppet/indirector/facts/couch.rb, line 11 def find(request) doc = super doc ? model.new(doc['_id'], doc['facts']) : nil end