projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
our prefix is dsa
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
lib
/
facter
/
software.rb
diff --git
a/modules/debian-org/lib/facter/software.rb
b/modules/debian-org/lib/facter/software.rb
index
4404d6f
..
0843c25
100644
(file)
--- a/
modules/debian-org/lib/facter/software.rb
+++ b/
modules/debian-org/lib/facter/software.rb
@@
-126,3
+126,12
@@
Facter.add("munin_async") do
FileTest.exist?("/usr/share/munin/munin-async")
end
end
+Facter.add("samhain") do
+ setcode do
+ if FileTest.exist?("/usr/sbin/samhain")
+ true
+ else
+ ''
+ end
+ end
+end