Sha256: 1d4ff7fa10b6ef6f1cd45b7c315894032aa0303c19824c172648f12c007f809a

Contents?: true

Size: 339 Bytes

Versions: 22

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Linux
    module Networking
      class Dhcp
        FACT_NAME = 'networking.dhcp'

        def call_the_resolver
          fact_value = Facter::Resolvers::NetworkingLinux.resolve(:dhcp)

          Facter::ResolvedFact.new(FACT_NAME, fact_value)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
facter-4.0.30 lib/facter/facts/linux/networking/dhcp.rb
facter-4.0.29 lib/facts/linux/networking/dhcp.rb