X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian_org%2Flib%2Ffacter%2Fpaths.rb;h=c422bc410065068b6094945d44f9de66a6e7636a;hb=cf760168ec022b1fc8edb9c46d85b29a98af8ca6;hp=ad4e9841ac233079aa9b48d9c0a6c57cedb68910;hpb=b357c850f3122c4e3bd79a4f509012b2288f9c98;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian_org/lib/facter/paths.rb b/modules/debian_org/lib/facter/paths.rb index ad4e9841a..c422bc410 100644 --- a/modules/debian_org/lib/facter/paths.rb +++ b/modules/debian_org/lib/facter/paths.rb @@ -3,16 +3,20 @@ /srv/buildd /etc/ssh/ssh_host_ed25519_key /srv/mirrors/debian + /srv/mirrors/debian-buildd /srv/mirrors/debian-debug /srv/mirrors/debian-ports /srv/mirrors/debian-security - /srv/mirrors/syncproxy-debian - /srv/mirrors/syncproxy-debian-debug - /srv/mirrors/syncproxy-debian-ports - /srv/mirrors/syncproxy-debian-security + /srv/mirrors/public-debian + /srv/mirrors/public-debian-buildd + /srv/mirrors/public-debian-debug + /srv/mirrors/public-debian-ports + /srv/mirrors/public-debian-security /dev/hwrng + /lib/udev/rules.d/60-kpartx.rules + /etc/ssh/ssh_known_hosts }.each do |path| - Facter.add("has" + path.gsub(/[\/-]/,'_')) do + Facter.add("has" + path.gsub(/[\/.-]/,'_')) do setcode do if FileTest.exist?(path) true