Sha256: 416528d00754d6daf600b93daf0bfa28994d16f05dc036a6bff3c80f439b6a6e
Contents?: true
Size: 604 Bytes
Versions: 152
Compression:
Stored size: 604 Bytes
Contents
require 'puppet/node/facts' require 'puppet/indirector/rest' class Puppet::Node::Facts::InventoryService < Puppet::Indirector::REST desc "Find and save facts about nodes using a remote inventory service." use_server_setting(:inventory_server) use_port_setting(:inventory_port) # We don't want failing to upload to the inventory service to cause any # failures, so we just suppress them and warn. def save(request) begin super true rescue => e Puppet.warning "Could not upload facts for #{request.key} to inventory service: #{e.to_s}" false end end end
Version data entries
152 entries across 152 versions & 5 rubygems