Commit 3812b003 authored by Mendy Baitelman's avatar Mendy Baitelman
Browse files

Fixing plat_specific_sv_name logic to work with Amazon Linux 2

node['platform_family'] for amazon linux 2 now returns 'amazon' not 'rhel'.
This needs to be updated as the service name is 'runsvdir-start' but its trying to use the default 'runsvdir'
Signed-off-by: mbaitelman's avatarMendy Baitelman <>
parent 30fe5e58
......@@ -60,7 +60,7 @@ plat_specific_sv_name = case node['platform_family']
when 'rhel'
when 'rhel', 'amazon'
if node['platform_version'].to_i >= 7 && !platform?('amazon')
elsif node['platform_version'].to_i == 2 && platform?('amazon')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment