Sha256: 601435f3fdee11aff0e48a2f1715d99e24f5e0ac97abe1ffdb84354cbcad747b
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true module Facts module Debian module Os module Distro class Codename FACT_NAME = 'os.distro.codename' ALIASES = 'lsbdistcodename' def call_the_resolver fact_value = Facter::Resolvers::LsbRelease.resolve(:codename) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems