]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Add test for mail role
[chef.git] / cookbooks / exim / recipes / default.rb
index 6af07c8e1114de61398c7ad5b56bf014d0495f08..9266425e3a64c319948fb9a4d0337fa4db345239 100644 (file)
@@ -26,7 +26,9 @@ package %w[
   ssl-cert
 ]
 
-package "exim4-daemon-heavy" if File.exist?("/var/run/clamav/clamd.ctl")
+package "exim4-daemon-heavy" do
+  only_if { ::File.exist?("/var/run/clamav/clamd.ctl") }
+end
 
 group "ssl-cert" do
   action :modify