Sha256: cf26b3f4c7606f5853e608e1271066652a270749ef972c9454cc90548c9a7328
Contents?: true
Size: 464 Bytes
Versions: 26
Compression:
Stored size: 464 Bytes
Contents
require 'hiera' class Hiera module Backend class Env_backend def initialize Hiera.debug('Hiera environment backend starting') end def lookup(key, scope, order_override, resolution_type, context) Hiera.debug( "Looking up #{key} in environment backend with #{resolution_type}") Backend.parse_answer( ENV[key.to_s.upcase] || throw(:no_such_key), scope) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems