From 94765c19819e8fc49c33ec6593d7db70e9029930 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 23 Sep 2009 00:21:39 +0100 Subject: [PATCH] a random test Signed-off-by: Stephen Gran --- facts/hosts.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/facts/hosts.rb b/facts/hosts.rb index b55c43b1..69c15acd 100644 --- 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| -- 2.39.2