diff --git a/test/integration/default/controls/base.rb b/test/integration/default/controls/base.rb index 8209c2b..6cbc87b 100644 --- a/test/integration/default/controls/base.rb +++ b/test/integration/default/controls/base.rb @@ -43,12 +43,10 @@ end control 'logrotate.service.running' do title 'The service should be installed, enabled and running' - only_if('Disabled on Arch Linux') do - !%w[arch].include?(platform[:name]) - end - service = - case platform[:family] + case system.platform[:family] + when 'arch' + 'cronie' when 'redhat', 'fedora' 'crond' else