1
0
Fork 0
mirror of synced 2024-11-18 06:55:34 -05:00

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

This commit is contained in:
Imran Iqbal 2019-08-20 16:29:20 +01:00
parent e171b8a15f
commit be09e0dedd

View file

@ -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'