class Puppet::Node::Facts::Couch

Public Instance Methods

find(request) click to toggle source

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