Skip to content

Conversation

@h0tw1r3
Copy link
Contributor

@h0tw1r3 h0tw1r3 commented May 12, 2024

rockylinux images recently dropped yum. other distros are likely to do the same.

observed failures in litmusimage nightly smoke tests

rockylinux images recently dropped yum. other distros are likely to do
the same.
docker_exec(container, "bash -c '#{check_init_cmd}'")
end
docker_exec(container, 'yum install -y sudo openssh-server openssh-clients')
packager = (version.to_i > 8) ? 'dnf' : 'yum'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't that off by one? EL8 already contains dnf?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be, but I intentionally chose 9 as RedHat technically called it "yum 4" until EL 9.

@h0tw1r3 h0tw1r3 marked this pull request as ready for review May 12, 2024 16:18
@h0tw1r3 h0tw1r3 requested a review from a team as a code owner May 12, 2024 16:18
@jordanbreen28 jordanbreen28 merged commit 341e7e1 into puppetlabs:main May 13, 2024
@h0tw1r3 h0tw1r3 deleted the dnf-support branch May 14, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants