You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rhsm_ca_name is calculated in the /lib/facter/rhsm_ca_name.rb
if File.exist?('/etc/rhsm/ca/katello-default-ca.pem')
# Katello or Satellite with custom CA cert
...
elsif File.exist?('/etc/rhsm/ca/katello-server-ca.pem')
# Katello or Satellite
...
elsif File.exist?('/etc/rhsm/ca/candlepin-local.pem')
# RedHat SAM
...
If none of these exist, are empty, are corrupt or are not read-able by the user puppet runs as then it could be blank.
On RHEL 8 it should still be the katello-server-ca.pem. But with the newer releases of subscription-manager? One always needs to check. The files are internal to Candlepin which would use the regular libraries instead of directly seeking and parsing the SSL files on disk with openssl libraries.
The module is successfully subscribing the server but it keeps giving a notice:
Notice: /Stage[main]/Subscription_manager::Config/Rhsm_register[subscription.rhn.redhat.com]/ensure: created (corrective)
I'm sure it's happening in ruby somewhere but I have zero skills when it comes to ruby debugging.
The text was updated successfully, but these errors were encountered: