We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a0b4a4 commit 20382d0Copy full SHA for 20382d0
cookbooks/spamassassin/recipes/default.rb
@@ -19,7 +19,7 @@
19
20
package "spamassassin"
21
22
-service_name = if platform?("debian")
+service_name = if platform?("debian") || (platform?("ubuntu") && node[:lsb][:release].to_f >= 24.04)
23
"spamd"
24
else
25
"spamassassin"
test/integration/spamassassin/inspec/spamassassin_spec.rb
@@ -1,4 +1,4 @@
1
-service_name = if os.name == "debian"
+service_name = if os.name == "debian" || (os.name == "ubuntu" && os.release.to_f >= 24.04)
2
3
4
0 commit comments