From: Stephen Gran <steve@lobefin.net>
Date: Fri, 5 Feb 2010 19:26:48 +0000 (+0000)
Subject: yet another suhosin path
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b10c6a2b727f378f54dabbc0bd23e84b6c3f89b3;p=dsa-puppet.git

yet another suhosin path

Signed-off-by: Stephen Gran <steve@lobefin.net>
---

diff --git a/facts/software.rb b/facts/software.rb
index f8887a1f..156d1335 100644
--- a/facts/software.rb
+++ b/facts/software.rb
@@ -63,6 +63,7 @@ Facter.add("php5") do
 end
 Facter.add("php5suhosin") do
 	setcode do
-		FileTest.exist?("/usr/lib/php5/20060613/suhosin.so")
+		FileTest.exist?("/usr/lib/php5/20060613/suhosin.so") or
+		FileTest.exist?("/usr/lib/php5/20060613+lfs/suhosin.so")
 	end
 end