lib/facter/resolvers/gce.rb in facter-4.0.44 vs lib/facter/resolvers/gce.rb in facter-4.0.46

- old
+ new

@@ -1,10 +1,11 @@ # frozen_string_literal: true module Facter module Resolvers class Gce < BaseResolver - @fact_list ||= {} + init_resolver + METADATA_URL = 'http://metadata.google.internal/computeMetadata/v1/?recursive=true&alt=json' HEADERS = { "Metadata-Flavor": 'Google', "Accept": 'application/json' }.freeze class << self private