puppet 4 foo
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / paths.rb
diff --git a/modules/debian-org/lib/facter/paths.rb b/modules/debian-org/lib/facter/paths.rb
deleted file mode 100644 (file)
index 47a010c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-
-%w{/srv/build-trees
-   /srv/buildd
-   /etc/ssh/ssh_host_ed25519_key
-   /srv/mirrors/debian
-   /srv/mirrors/debian-debug
-   /srv/mirrors/debian-ports
-   /srv/mirrors/debian-security
-   /dev/hwrng
-}.each do |path|
-       Facter.add("has" + path.gsub(/[\/-]/,'_')) do
-               setcode do
-                       if FileTest.exist?(path)
-                               true
-                       else
-                               ''
-                       end
-               end
-       end
-end