Skip to content

Commit

Permalink
explicitly install cronie on EL8+
Browse files Browse the repository at this point in the history
cronie is a weak dependency of crontabs, and while CentOS and RHEL install weak dependencies by default, other EL systems do not (so much for compatibility, huh?).

install cronie explicitly, to avoid "Could not find a suitable provider for cron" errors on those EL systems.
  • Loading branch information
evgeni committed Nov 3, 2023
1 parent 1528466 commit 5a3566a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beaker-hostgenerator/hypervisor/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def image_commands(ostype)

def el_package_install_command(version)
if version >= 8
'dnf install -y crontabs initscripts iproute openssl wget which glibc-langpack-en hostname'
'dnf install -y cronie crontabs initscripts iproute openssl wget which glibc-langpack-en hostname'
else
'yum install -y crontabs initscripts iproute openssl wget which sysvinit-tools tar ss'
end
Expand Down

0 comments on commit 5a3566a

Please sign in to comment.