瀏覽代碼
test(base): re-enable Arch Linux test (possible due to `cron-formula`)
tags/v0.13.0
Imran Iqbal
2 年之前
No account linked to committer's email address
共有
1 個文件被更改,包括
3 次插入 和
5 次删除
-
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 |