Weird there is some inconsistency between Ruby and Puppet:
[root@zzzap ~]# dnf install puppet
Last metadata expiration check: 1:13:16 ago on Fri 07 Jan 2022 07:28:28 AM CET.
Error:
Problem: package puppet-6.25.1-1.el8.noarch requires ruby(selinux), but none of the providers can be installed
- package libselinux-ruby-2.9-5.el8.x86_64 requires libruby.so.2.5()(64bit), but none of the providers can be installed
- conflicting requests
- package ruby-libs-2.5.5-105.module_el8.1.0+214+9be47fd7.x86_64 is filtered out by modular filtering
- package ruby-libs-2.5.9-107.module_el8.5.0+811+d98a1657.x86_64 is filtered out by modular filtering
I have followed our CentOS 8 Stream guide:
dnf -y module reset ruby
dnf -y module enable ruby:2.7
dnf -y install https://yum.puppet.com/puppet6-release-el-8.noarch.rpm
dnf -y install https://yum.theforeman.org/releases/3.1/el8/x86_64/foreman-release.rpm
dnf -y install mlocate sysstat chrony foreman-installer foreman
Could be something in SELinux in CentOS 8 Stream perhaps?