Sha256: 77c6029957a9d25e63e3352893a0ee127d19f050095b316b3f6513a80224b497
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 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 do Facter::Core::Execution.exec('lsb_release -v -s 2>/dev/null') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facter-2.0.1.rc1 | lib/facter/lsbrelease.rb |
facter-2.0.1.rc1-x86-mingw32 | lib/facter/lsbrelease.rb |
facter-2.0.1.rc1-universal-darwin | lib/facter/lsbrelease.rb |