Revision c696f740
Added by Dominic Cleal almost 8 years ago
app/services/puppet_fact_importer.rb | ||
---|---|---|
class PuppetFactImporter < FactImporter
|
||
class PuppetFactImporter < StructuredFactImporter
|
||
def self.authorized_smart_proxy_features
|
||
'Puppet'
|
||
end
|
Also available in: Unified diff
fixes #4528 - import structured Puppet facts
A new structured fact importer converts nested hashes into the
FactName::SEPARATOR layout used for internal structured fact storage and
extends the regular fact importer to create the hierarchy of FactNames.
This can be used by other plugins requiring structured storage. It does
not support storage of arrays beyond current conversion to strings.