The debian-backports repository is obsolete. Remove from autofs and rsync/syncproxy...
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / paths.rb
index 9e569fb..6b1b3da 100644 (file)
@@ -2,8 +2,12 @@
 %w{/srv/build-trees
    /srv/buildd
    /etc/ssh/ssh_host_ed25519_key
+   /srv/mirrors/debian
+   /srv/mirrors/debian-debug
+   /srv/mirrors/debian-security
+   /dev/hwrng
 }.each do |path|
-       Facter.add("has" + path.gsub('/','_')) do
+       Facter.add("has" + path.gsub(/[\/-]/,'_')) do
                setcode do
                        if FileTest.exist?(path)
                                true