Sha256: 75a0426756ac3301e827d3f2e8f5379fadd4b2860c1a48f7b419a3a5cd2d47dc
Contents?: true
Size: 472 Bytes
Versions: 19
Compression:
Stored size: 472 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 'lsb_release -i -s 2>/dev/null' end
Version data entries
19 entries across 19 versions & 1 rubygems