projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't force failure, force an empty expansion
[mirror/dsa-puppet.git]
/
facts
/
hosts.rb
diff --git
a/facts/hosts.rb
b/facts/hosts.rb
index
3e6b2d9
..
82395ed
100644
(file)
--- a/
facts/hosts.rb
+++ b/
facts/hosts.rb
@@
-4,7
+4,7
@@
Facter.add("brokenhosts") do
if FileTest.exist?("/etc/hosts")
IO.foreach("/etc/hosts") do |x|
x.split.each do |y|
- if y ==
fqdn
+ if y ==
Facter.value("fqdn")
brokenhosts = "false"
break
end