Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Night's Watch
-
3
-
Platform OS Kanban, PR - 2019-07-23, NW - 2019-08-07
-
Reviewed
-
Not Needed
-
Needs Assessment
Description
Puppet_agent module is not supporting to upgrade RedHat Satellite puppet agent packages. We tried with both options of providing package_version as below.
1)
Console override of puppet_agent package_version = "1.10.9-1"
Error: Could not update: Failed to update to version 1.10.9-1-1.el7, got version 1.10.9-1.el7sat instead
Error: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: change from 1.10.9-1.el7sat to 1.10.9-1-1.el7 failed: Could not update: Failed to update to version 1.10.9-1-1.el7, got version 1.10.9-1.el7sat instead
2)
Console override of puppet_agent package_version = "1.10.9-1.el7sat"
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, invalid version 1.10.9-1.el7sat requested (file: /etc/puppetlabs/code/environments/production/modules/puppet_agent/manifests/init.pp, line: 86, column: 7) on node oser501800.wal-mart.com
By default, Puppet_agent code is assuming el7 in the package_version rather than el7sat
"https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/master/manifests/install.pp#L167"