fix(platform): add support for Arch

This commit is contained in:
Imran Iqbal committed 2019-10-15 02:16:06 +01:00
1 parent c12034a38d
commit a9968e329c
3 files changed
+15 -6

No files matched your search

@@ -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