Method: Puppet::Context::TrustedInformation#external

Defined in:
lib/puppet/context/trusted_information.rb

#externalHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Additional external facts loaded through ‘trusted_external_command`.

Returns:

  • (Hash)


76
77
78
79
80
81
# File 'lib/puppet/context/trusted_information.rb', line 76

def external
  if @external.is_a?(Proc)
    @external = @external.call.freeze
  end
  @external
end