X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Flib%2Ffacter%2Fhosts.rb;h=63c04cb278d5fded43ab0b14f040f3e39aa651e0;hb=c5741662fd118e6bda3f5cb4bf44fe51e53c22d8;hp=2a6b692a2ac439046e6aef77742b3d6ab0f0266b;hpb=811f131d5406742d3d5588c7642a512d5a049466;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/lib/facter/hosts.rb b/modules/debian-org/lib/facter/hosts.rb index 2a6b692a2..63c04cb27 100644 --- a/modules/debian-org/lib/facter/hosts.rb +++ b/modules/debian-org/lib/facter/hosts.rb @@ -11,7 +11,11 @@ Facter.add("brokenhosts") do end end setcode do - brokenhosts + if brokenhosts + true + else + '' + end end end