Sha256: c54678b229922e55b7821c9eea06a7f3e59d6e44725eb1057d80cae8b5c7629e
Contents?: true
Size: 605 Bytes
Versions: 5
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true require 'puppet/configurer' module ACE class Configurer < Puppet::Configurer # override the configurer to return the facts # related to the transport and the trusted # facts which is passed to the configurer.run def get_facts(options) transport_facts = Puppet::Node::Facts.indirection.find(Puppet[:certname], environment: Puppet[:environment]).values trusted_facts = options[:trusted_facts] { transport_facts: transport_facts, trusted_facts: trusted_facts } end end end
Version data entries
5 entries across 5 versions & 1 rubygems