From: Stephen Gran Date: Tue, 22 Sep 2009 23:21:39 +0000 (+0100) Subject: a random test X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=94765c19819e8fc49c33ec6593d7db70e9029930;hp=f2c07c621a6f4e2d3074d7fb622842fd2ed925d0;p=mirror%2Fdsa-puppet.git a random test Signed-off-by: Stephen Gran --- diff --git a/facts/hosts.rb b/facts/hosts.rb index b55c43b1a..69c15acd2 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|