X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..388a527fdf388cd5383b978d0cb5406d787b8661:/cookbooks/clamav/recipes/default.rb diff --git a/cookbooks/clamav/recipes/default.rb b/cookbooks/clamav/recipes/default.rb index 08c873ee2..93ec86e69 100644 --- a/cookbooks/clamav/recipes/default.rb +++ b/cookbooks/clamav/recipes/default.rb @@ -17,8 +17,18 @@ # 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]