summaryrefslogtreecommitdiffstats
path: root/lib/facter/lsb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter/lsb.rb')
-rw-r--r--lib/facter/lsb.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/facter/lsb.rb b/lib/facter/lsb.rb
index bf4b9db..107419a 100644
--- a/lib/facter/lsb.rb
+++ b/lib/facter/lsb.rb
@@ -1,3 +1,16 @@
+# Fact: lsb
+#
+# Purpose: Return Linux Standard Base information for the host.
+#
+# Resolution:
+# Uses the lsb_release system command and parses the output with a series of
+# regular expressions.
+#
+# 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.
+
## lsb.rb
## Facts related to Linux Standard Base (LSB)
##