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