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'