Class: ACE::Configurer
- Inherits:
-
Puppet::Configurer
- Object
- Puppet::Configurer
- ACE::Configurer
- Defined in:
- lib/ace/configurer.rb
Instance Method Summary collapse
-
#get_facts(options) ⇒ Object
override the configurer to return the facts related to the transport and the trusted facts which is passed to the configurer.run.
Instance Method Details
#get_facts(options) ⇒ Object
override the configurer to return the facts related to the transport and the trusted facts which is passed to the configurer.run
10 11 12 13 14 15 |
# File 'lib/ace/configurer.rb', line 10 def get_facts() transport_facts = Puppet::Node::Facts.indirection.find(Puppet[:certname], environment: Puppet[:environment]).values trusted_facts = [:trusted_facts] { transport_facts: transport_facts, trusted_facts: trusted_facts } end |