Sha256: 56372b349b3d41194c34b548897637c2c5b094756af7f552d41808b0686242dc

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Solaris
    class SolarisZonesCurrent
      FACT_NAME = 'solaris_zones.current'

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

Version data entries

2 entries across 2 versions & 1 rubygems

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