X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..388a527fdf388cd5383b978d0cb5406d787b8661:/cookbooks/clamav/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/clamav/recipes/default.rb b/cookbooks/clamav/recipes/default.rb index ff34b857b..93ec86e69 100644 --- a/cookbooks/clamav/recipes/default.rb +++ b/cookbooks/clamav/recipes/default.rb @@ -17,15 +17,25 @@ # limitations under the License. # -package "clamav-daemon" -package "clamav-freshclam" +package %w[ + clamav-daemon + clamav-freshclam + 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