summaryrefslogtreecommitdiffstats
path: root/lib/facter/lsb.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2011-04-01 17:19:45 +1100
committerJames Turnbull <james@lovedthanlost.net>2011-04-01 17:19:45 +1100
commitb69b2df6f09a7a165c005b3270ee21d1db57eee4 (patch)
treeb1d79db76c2b532bd0d52f2af8a7372106961384 /lib/facter/lsb.rb
parentd50db0cd74c8a198567db29ade75287f755a9bee (diff)
parent7c082702c72c168f3e739b9bc1c7562b0aa15ddd (diff)
downloadfacter-b69b2df6f09a7a165c005b3270ee21d1db57eee4.tar.gz
facter-b69b2df6f09a7a165c005b3270ee21d1db57eee4.tar.xz
facter-b69b2df6f09a7a165c005b3270ee21d1db57eee4.zip
Merge remote branch 'barn/tickets/next/5394-Improve_Facter_fact_value_documentation' into next
* barn/tickets/next/5394-Improve_Facter_fact_value_documentation: (#5394) Document each Facter fact.
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)
##