From 7c082702c72c168f3e739b9bc1c7562b0aa15ddd Mon Sep 17 00:00:00 2001 From: Ben H Date: Sun, 13 Mar 2011 14:07:37 +1100 Subject: (#5394) Document each Facter fact. Document all the builtin Facter facts in puppetdoc/rdoc format. This is laying the ground work for using a tool like puppet doc, or puppet describe but for facter, so you can see what a fact is for and how it resolves this. This is the "leg work" of documenting the actual facts, and the syntax of them may change in future. --- lib/facter/xendomains.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/facter/xendomains.rb') diff --git a/lib/facter/xendomains.rb b/lib/facter/xendomains.rb index 972ac90..5bcde05 100644 --- a/lib/facter/xendomains.rb +++ b/lib/facter/xendomains.rb @@ -1,3 +1,14 @@ +# Fact: xendomains +# +# Purpose: Return the list of Xen domains on the Dom0. +# +# Resolution: +# On a Xen Dom0 host, return a list of Xen domains using the 'util/xendomains' +# library. +# +# Caveats: +# + require 'facter/util/xendomains' Facter.add("xendomains") do -- cgit