We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6f54d8 commit 876ec08Copy full SHA for 876ec08
cookbooks/clamav/recipes/default.rb
@@ -22,14 +22,17 @@
22
package %w[
23
clamav-daemon
24
clamav-freshclam
25
- clamav-unofficial-sigs
26
]
27
28
-template "/etc/clamav-unofficial-sigs.conf.d/50-chef.conf" do
29
- source "clamav-unofficial-sigs.conf.erb"
30
- owner "root"
31
- group "root"
32
- mode "644"
+if platform?("ubuntu") && node[:lsb][:release].to_f < 24.04
+ package "clamav-unofficial-sigs"
+
+ template "/etc/clamav-unofficial-sigs.conf.d/50-chef.conf" do
+ source "clamav-unofficial-sigs.conf.erb"
+ owner "root"
33
+ group "root"
34
+ mode "644"
35
+ end
36
end
37
38
execute "freshclam" do
0 commit comments