Sha256: b7e62c13c4e3035677c4abb7284fd7c4f40dc134598a1db9303f6b0283abb397
Contents?: true
Size: 516 Bytes
Versions: 35
Compression:
Stored size: 516 Bytes
Contents
# Fact: lsbdistid # # Purpose: Return Linux Standard Base information for the host. # # Resolution: # Uses the lsb_release system command # # Caveats: # Only works on Linux (and the kfreebsd derivative) systems. # Requires the lsb_release program, which may not be installed by default. # Also is as only as accurate as that program outputs. Facter.add(:lsbdistid) do confine :kernel => [ :linux, :"gnu/kfreebsd" ] setcode do Facter::Util::Resolution.exec('lsb_release -i -s 2>/dev/null') end end
Version data entries
35 entries across 35 versions & 2 rubygems