[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161
Paul Nasrat
pnasrat at googlemail.com
Wed Aug 18 05:55:50 UTC 2010
The following commit has been merged in the upstream branch:
commit d109def6aff3bccfbd79e4ee83479fe8f1a2a397
Author: R.I. Pienaar <rip at devco.net>
Date: Thu May 27 11:17:39 2010 +0100
Fix #1365 - load all facts via cli
This changes the CLI to load all facts.
diff --git a/bin/facter b/bin/facter
index 4ffd50a..a6cb717 100755
--- a/bin/facter
+++ b/bin/facter
@@ -134,9 +134,9 @@ ARGV.each { |item|
names.push item
}
-if names.empty?
- facts = Facter.to_hash
-else
+facts = Facter.to_hash
+
+unless names.empty?
facts = {}
names.each { |name|
begin
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list