fix munin 1
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / paths.rb
index 2394aa6..47a010c 100644 (file)
@@ -3,11 +3,12 @@
    /srv/buildd
    /etc/ssh/ssh_host_ed25519_key
    /srv/mirrors/debian
-   /srv/mirrors/debian-backports
    /srv/mirrors/debian-debug
+   /srv/mirrors/debian-ports
    /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