We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c1b2d commit 12cabe6Copy full SHA for 12cabe6
acceptance/tests/resource/service/ticket_5024_systemd_enabling_masked_service.rb
@@ -26,7 +26,9 @@
26
agents.each do |agent|
27
platform = agent.platform.variant
28
29
- if agent['platform'] =~ /(debian|ubuntu)/
+ if agent['platform'] =~ /ubuntu-24.04-amd64/
30
+ init_script_systemd = "/usr/lib/systemd/system/#{package_name[platform]}.service"
31
+ elsif agent['platform'] =~ /(debian|ubuntu)/
32
init_script_systemd = "/lib/systemd/system/#{package_name[platform]}.service"
33
else
34
init_script_systemd = "/usr/lib/systemd/system/#{package_name[platform]}.service"
0 commit comments