Sha256: c1f9ec44f0db19c191ee77d87ff22acfbd7777ef5805ddc66291a7c959ab91df

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Solaris
    module SolarisZones
      class Current
        FACT_NAME = 'solaris_zones.current'

        def call_the_resolver
          fact_value = Facter::Resolvers::SolarisZoneName.resolve(:current_zone_name)
          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-4.0.9.pre lib/facts/solaris/solaris_zones/current.rb