From e4ad016b97293e8e4d74864c6afbfdeb308b38bf Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 7 Oct 2021 06:39:50 +0100 Subject: [PATCH] test(alma+rocky): add platforms (finalise dc63042) [skip ci] --- test/integration/default/controls/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/default/controls/base.rb b/test/integration/default/controls/base.rb index 07bd8a1..8209c2b 100644 --- a/test/integration/default/controls/base.rb +++ b/test/integration/default/controls/base.rb @@ -48,8 +48,8 @@ control 'logrotate.service.running' do end service = - case platform[:name] - when 'redhat', 'centos', 'fedora', 'amazon', 'oracle' + case platform[:family] + when 'redhat', 'fedora' 'crond' else 'cron'