projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c07c6
)
a random test
author
Stephen Gran
<steve@lobefin.net>
Tue, 22 Sep 2009 23:21:39 +0000
(
00:21
+0100)
committer
Stephen Gran
<steve@lobefin.net>
Tue, 22 Sep 2009 23:21:39 +0000
(
00:21
+0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/hosts.rb
patch
|
blob
|
history
diff --git
a/facts/hosts.rb
b/facts/hosts.rb
index
b55c43b
..
69c15ac
100644
(file)
--- a/
facts/hosts.rb
+++ b/
facts/hosts.rb
@@
-1,4
+1,5
@@
Facter.add("brokenhosts") do
+ confine :kernel => :linux
brokenhosts = "true"
if FileTest.exist?("/etc/hosts")
IO.foreach("/etc/hosts") do |x|