Browse Source

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

tags/v0.11.1
Imran Iqbal 5 years ago
parent
commit
be09e0dedd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/integration/default/controls/base.rb

+ 2
- 2
test/integration/default/controls/base.rb View File

title 'Test logrotate installation' title 'Test logrotate installation'


case os[:name] case os[:name]
when 'redhat', 'centos', 'fedora'
when 'redhat', 'centos', 'fedora', 'amazon'
pkg = 'cronie' pkg = 'cronie'
else else
pkg = 'logrotate' pkg = 'logrotate'
end end


case os[:name] case os[:name]
when 'redhat', 'centos', 'fedora'
when 'redhat', 'centos', 'fedora', 'amazon'
service = 'crond' service = 'crond'
else else
service = 'cron' service = 'cron'

Loading…
Cancel
Save