projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DMUP exists
[mirror/dsa-puppet.git]
/
facts
/
software.rb
diff --git
a/facts/software.rb
b/facts/software.rb
index
e622d35
..
3a0fefc
100644
(file)
--- a/
facts/software.rb
+++ b/
facts/software.rb
@@
-72,3
+72,8
@@
Facter.add("syslogversion") do
%x{dpkg-query -W -f='${Version}\n' syslog-ng | cut -b1}.chomp
end
end
%x{dpkg-query -W -f='${Version}\n' syslog-ng | cut -b1}.chomp
end
end
+Facter.add("rsyncd") do
+ setcode do
+ FileTest.exist?("/etc/rsyncd.conf")
+ end
+end