Method: Puppet::Application::Lookup#setup
- Defined in:
- lib/puppet/application/lookup.rb
#setup ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/puppet/application/lookup.rb', line 86 def setup setup_logs exit(Puppet.settings.print_configs ? 0 : 1) if Puppet.settings.print_configs? if [:node] Puppet::Util.skip_external_facts do Puppet.settings.use :main, :server, :ssl, :metrics end else Puppet.settings.use :main, :server, :ssl, :metrics end setup_terminuses end |