projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4b032
)
A facter for unbound
author
Peter Palfrader
<peter@palfrader.org>
Sat, 5 Mar 2011 10:32:33 +0000
(11:32 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 5 Mar 2011 10:32:33 +0000
(11:32 +0100)
modules/debian-org/lib/facter/software.rb
patch
|
blob
|
history
diff --git
a/modules/debian-org/lib/facter/software.rb
b/modules/debian-org/lib/facter/software.rb
index
3a0fefc
..
237f9fa
100644
(file)
--- a/
modules/debian-org/lib/facter/software.rb
+++ b/
modules/debian-org/lib/facter/software.rb
@@
-77,3
+77,9
@@
Facter.add("rsyncd") do
FileTest.exist?("/etc/rsyncd.conf")
end
end
+Facter.add("unbound") do
+ setcode do
+ FileTest.exist?("/usr/sbin/unbound") and
+ FileTest.exist?("/var/lib/unbound/root.key")
+ end
+end