Explorar el Código
test(base): re-enable Arch Linux test (possible due to `cron-formula`)
tags/v0.13.0
Imran Iqbal
hace 2 años
Ninguna cuenta vinculada a la dirección de correo electrónico del committer
Se han
modificado 1 ficheros con
3 adiciones y
5 borrados
-
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 |