From dc630420a5715f26276707adf00866ef882d4cb4 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 1 Jul 2021 08:30:57 +0100 Subject: [PATCH] test(alma+rocky): add platforms (based on CentOS 8) [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 05f2667..07bd8a1 100644 --- a/test/integration/default/controls/base.rb +++ b/test/integration/default/controls/base.rb @@ -6,8 +6,8 @@ control 'logrotate-pkg.pkg.installed' do title 'The required package should be installed' pkg = - case platform[:name] - when 'redhat', 'centos', 'fedora', 'amazon', 'oracle' + case platform[:family] + when 'redhat', 'fedora' 'cronie' else 'logrotate'