Skip to content

Commit

Permalink
test(inspec): improve to work on amazon as well
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Aug 28, 2019
1 parent e171b8a commit be09e0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/default/controls/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -27,7 +27,7 @@
end

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

0 comments on commit be09e0d

Please sign in to comment.