Move rsync ssl setup into the rsync module
[mirror/dsa-puppet.git] / modules / debian-org / lib / facter / software.rb
index 0843c25..ba4c1be 100644 (file)
@@ -135,3 +135,13 @@ Facter.add("samhain") do
                end
        end
 end
+Facter.add("systemd") do
+       setcode do
+               init = '/sbin/init'
+               if File.symlink?(init) and File.readlink(init) == "/lib/systemd/systemd"
+                       true
+               else
+                       ''
+               end
+       end
+end