Server IP : 111.118.215.189 / Your IP : 18.188.149.185 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/ruby/vendor_ruby/puppet/indirector/facts/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
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