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'