put initial ssh_known_hosts in place and run ud-replicate by puppet
[mirror/dsa-puppet.git] / modules / debian_org / lib / facter / paths.rb
index ad4e984..c422bc4 100644 (file)
@@ -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