Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix provision on dnf only platforms #261

Merged
merged 1 commit into from
May 13, 2024

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.
@@ -35,7 +31,8 @@ def install_ssh_components(distro, version, container)
'do sleep 0.1 ; count=$((count+1)) ; done ; fi'
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
7 checks passed
@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