Commit d2d6bb6b authored by Tim Smith's avatar Tim Smith
Browse files

Install cronie when we're on systemd to support Amazon Linux 2



This is simpler than doing another nested platform check
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 55ca90d5
......@@ -20,7 +20,7 @@ default['cron']['package_name'] = case node['platform_family']
when 'debian'
['cron']
when 'amazon', 'rhel', 'fedora'
node['platform_version'].to_i >= 6 ? ['cronie'] : ['vixie-cron']
node['init_package'] == 'systemd' ? ['cronie'] : ['vixie-cron']
when 'suse'
node['platform_version'].to_i >= 12 ? ['cronie'] : ['cron']
when 'solaris2'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment