mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-07-15 10:13:57 +02:00
fix(platform): add support for Arch
This commit is contained in:
@@ -7,6 +7,14 @@ control 'Cron service' do
|
||||
case os[:family]
|
||||
when 'debian', 'suse'
|
||||
'cron'
|
||||
# Catch remaining `linux` platforms to identify by `name` at the end
|
||||
when 'linux'
|
||||
case os[:name]
|
||||
when 'arch'
|
||||
'cronie'
|
||||
else
|
||||
'crond'
|
||||
end
|
||||
else
|
||||
'crond'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user