Connection to foreman:8140/puppet-ca/v1 failed

There is some discussion in Foreman-installer enables puppet.service although puppet integration is not enabled and a link to Bug #34819: Puppet Agent enabled in Katello installations, even if it should not - Installer - Foreman