Project

General

Profile

« Previous | Next » 

Revision 9e1b7578

Added by Marek Hulán over 10 years ago

fixes #3339 - nested fact support, allow fact importers to be registered by plugins

View differences:

app/models/host/base.rb
self.last_compile = time
end
PuppetFactImporter.new(self,facts).import!
type = facts.delete(:_type) || 'puppet'
FactImporter.importer_for(type).new(self, facts).import!
save(:validate => false)
populateFieldsFromFacts(facts)

Also available in: Unified diff