Sha256: 555e756153648f4ac95310a28c25f2f6afd5963e2d98634ede6bdbb13f948687
Contents?: true
Size: 474 Bytes
Versions: 19
Compression:
Stored size: 474 Bytes
Contents
# Fact: lsbrelease # # 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(:lsbrelease) do confine :kernel => [ :linux, :"gnu/kfreebsd" ] setcode 'lsb_release -v -s 2>/dev/null' end
Version data entries
19 entries across 19 versions & 1 rubygems