a haproxy facter
[mirror/dsa-puppet.git] / modules / debian_org / lib / facter / software.rb
index 58318fe..2a55c18 100644 (file)
@@ -162,3 +162,23 @@ Facter.add("haveged") do
                FileTest.exist?("/usr/sbin/haveged")
        end
 end
+Facter.add("bgpd") do
+       setcode do
+               FileTest.exist?("/usr/sbin/bgpd")
+       end
+end
+Facter.add("zebra") do
+       setcode do
+               FileTest.exist?("/usr/sbin/zebra")
+       end
+end
+Facter.add("update_grub") do
+       setcode do
+               FileTest.exist?("/usr/sbin/update-grub")
+       end
+end
+Facter.add("haproxy") do
+       setcode do
+               FileTest.exist?("/usr/sbin/haproxy")
+       end
+end