test(inspec): improve to work on `amazon` as well

pull/47/head
Imran Iqbal 4 years ago
parent e171b8a15f
commit be09e0dedd
  1. 4
      test/integration/default/controls/base.rb

@ -3,7 +3,7 @@
title 'Test logrotate installation'
case os[:name]
when 'redhat', 'centos', 'fedora'
when 'redhat', 'centos', 'fedora', 'amazon'
pkg = 'cronie'
else
pkg = 'logrotate'
@ -27,7 +27,7 @@ describe file('/etc/logrotate.d') do
end
case os[:name]
when 'redhat', 'centos', 'fedora'
when 'redhat', 'centos', 'fedora', 'amazon'
service = 'crond'
else
service = 'cron'

Loading…
Cancel
Save