Sha256: 92ec1e0f7dfeda09f13db0752a3c36fc719887dae04084b5681919b3f5e3c92e

Contents?: true

Size: 482 Bytes

Versions: 19

Compression:

Stored size: 482 Bytes

Contents

# Fact: lsbdistrelease
#
# 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(:lsbdistrelease) do
  confine :kernel => [ :linux, :"gnu/kfreebsd" ]
  setcode 'lsb_release -r -s 2>/dev/null'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
facter-2.1.0 lib/facter/lsbdistrelease.rb
facter-2.1.0-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.1.0-x64-mingw32 lib/facter/lsbdistrelease.rb
facter-2.1.0-universal-darwin lib/facter/lsbdistrelease.rb
facter-2.0.2 lib/facter/lsbdistrelease.rb
facter-2.0.2-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.0.2-universal-darwin lib/facter/lsbdistrelease.rb
facter-2.0.1 lib/facter/lsbdistrelease.rb
facter-2.0.1-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.0.1-universal-darwin lib/facter/lsbdistrelease.rb
facter-2.0.1.rc4 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc4-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc4-universal-darwin lib/facter/lsbdistrelease.rb
facter-2.0.1.rc3 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc3-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc3-universal-darwin lib/facter/lsbdistrelease.rb
facter-2.0.1.rc2 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc2-x86-mingw32 lib/facter/lsbdistrelease.rb
facter-2.0.1.rc2-universal-darwin lib/facter/lsbdistrelease.rb