Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.26.0
Ruby: ?
Distribution: Red Hat Enterprise Linux release 8.8 (Ootpa)
Module version: 7.1.0
How to reproduce (e.g Puppet code you use)
puppet agent -t
What are you seeing
Info: Using environment 'feature_module_update'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, The first element of the merge has wrong type, expects a Hash value, got String (file: /etc/puppetlabs/code/environments/feature_module_update/modules/yum/manifests/init.pp, line: 203) on node rhel-8-wks-test.ctc.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
puppet agent -t
What are you seeing
Info: Using environment 'feature_module_update' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, The first element of the merge has wrong type, expects a Hash value, got String (file: /etc/puppetlabs/code/environments/feature_module_update/modules/yum/manifests/init.pp, line: 203) on node rhel-8-wks-test.ctc.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
Any additional information you'd like to impart
The code this is referencing is below:
unless defined(Yum::Config['installonly_limit']) { yum::config { 'installonly_limit': ensure => '3' } <--------- }
This same issue appears with v7.0.0, but not with v6.20.