lib/facter/facterversion.rb in facter-1.5.9 vs lib/facter/facterversion.rb in facter-1.6.0
- old
+ new
@@ -1,8 +1,17 @@
+# Fact: facterversion
+#
+# Purpose: returns the version of the facter module.
+#
+# Resolution: Uses the version constant.
+#
+# Caveats:
+#
+
Facter.add(:facterversion) do
setcode { Facter::FACTERVERSION.to_s }
end