diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-09-19 06:08:23 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-09-19 06:08:23 +0000 |
commit | e2185ceb243d1b426e30d555d737cd666985c41f (patch) | |
tree | e56c0a640abc0f6e32d58e9bfb175dc38fe1809e | |
parent | c96cf6a71874286fa7acff5a916f8a877f32a0f4 (diff) | |
download | facter-e2185ceb243d1b426e30d555d737cd666985c41f.tar.gz facter-e2185ceb243d1b426e30d555d737cd666985c41f.tar.xz facter-e2185ceb243d1b426e30d555d737cd666985c41f.zip |
Sorting the facts when they are all output
git-svn-id: http://reductivelabs.com/svn/facter/trunk@167 1f5c1d6a-bddf-0310-8f58-fc49e503516a
-rwxr-xr-x | bin/facter | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ else } end -facts.each { |name,value| +facts.sort { |a, b| a[0].to_s <=> b[0].to_s }.each { |name,value| if facts.length == 1 puts value else |