]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/clamav/recipes/default.rb
Only sync the database backup if pg_dump succeeds
[chef.git] / cookbooks / clamav / recipes / default.rb
index ff34b857b728298e7b37c299c95e95f00a982227..fe92becb5002b6f73a6f296633fd59ef938a7570 100644 (file)
 
 package "clamav-daemon"
 package "clamav-freshclam"
+package "clamav-unofficial-sigs"
+
+template "/etc/clamav-unofficial-sigs.conf.d/50-chef.conf" do
+  source "clamav-unofficial-sigs.conf.erb"
+  owner "root"
+  group "root"
+  mode 0o644
+end
 
 service "clamav-daemon" do
-  action [ :enable, :start ]
+  action [:enable, :start]
   supports :status => true, :restart => true
 end
 
 service "clamav-freshclam" do
-  action [ :enable, :start ]
+  action [:enable, :start]
   supports :status => true, :restart => true
 end