Sha256: 39757af84c4c292c05d8a1d1341d3da8f898729f91dbcac2c9d09072cd601e04
Contents?: true
Size: 408 Bytes
Versions: 39
Compression:
Stored size: 408 Bytes
Contents
class ForemanDiscovery::HostFactImporter < ::HostFactImporter def import_facts(facts) # Discovered Hosts won't report in via puppet, so we can use that field to # record the last time it sent facts... host.last_report = Time.now # Set the correct facts type for new foreman facts importing code. facts[:_type] = :foreman_discovery super(facts) end end
Version data entries
39 entries across 39 versions & 1 rubygems