Closed ralfbosz closed 1 year ago
Same issue happening. Each run returns:
Notice: /Stage[main]/Subscription_manager::Config/Rhsm_config[/etc/rhsm/rhsm.conf]/rhsm_full_refresh_on_yum: rhsm_full_refresh_on_yum changed 1 to 0 (corrective)
But the parameter is left as '1':
[root| ~]# cat /etc/rhsm/rhsm.conf | grep refresh
full_refresh_on_yum = 1
same, for 3 parameters on RHEL8
Jun 23 09:57:10 example puppet-agent[130998]: (/Stage[main]/Subscription_manager::Config/Rhsm_config[/etc/rhsm/rhsm.conf]/rhsm_baseurl) rhsm_baseurl changed 'https://satellite/pulp/content/' to 'https://satellite/pulp/repos' (corrective)
Jun 23 09:57:10 example puppet-agent[130998]: (/Stage[main]/Subscription_manager::Config/Rhsm_config[/etc/rhsm/rhsm.conf]/rhsm_full_refresh_on_yum) rhsm_full_refresh_on_yum changed 1 to 0 (corrective)
Jun 23 09:57:10 example puppet-agent[130998]: (/Stage[main]/Subscription_manager::Config/Rhsm_config[/etc/rhsm/rhsm.conf]/rhsmcertd_autoattachinterval) rhsmcertd_autoattachinterval changed 1440 to 60 (corrective)
FYI, downgrading to v5.6.5 makes parameters to be modified properly
The newest release does not change the rhsm.conf parameters with rhsm_config:
A run shows:
Notice: /Stage[main]/Main/Rhsm_config[/etc/rhsm/rhsm.conf]/server_port: server_port changed 443 to '8443'
But the parameter is not changed:Every run the parameter is changed according to the run, but never for real.
Also the help-file says the 'name' of the parameter should be the satellite-capsule, but when setting that an error shows only a valid path is possible:
Error: Parameter name failed on Rhsm_config[sattelite.com]: Validate method failed for class name: Require an absolute path ending in a filename.