]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/clamav/recipes/default.rb
hardware: Remove legacy G4 cleanup code
[chef.git] / cookbooks / clamav / recipes / default.rb
index 08c873ee2e66352835c1a59605b01535059f845c..41f877118f01782cf08b7db3271f6fb6c776e77d 100644 (file)
@@ -8,7 +8,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
+#     https://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # 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]