it seems puppet_agent module doesn't handle gpg pr...
# forge-modules
v
it seems puppet_agent module doesn't handle gpg properly ? I see upgrades fail on RHEL8
Copy code
Debug: /Stage[main]/Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet-20250406]/unless: gpg: WARNING: no command supplied.  Trying to guess what you mean ...
Debug: /Stage[main]/Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet-20250406]/unless: gpg: WARNING: no command supplied.  Trying to guess what you mean ...
Debug: /Stage[main]/Puppet_agent::Osfamily::Redhat/Exec[import-GPG-KEY-puppet-20250406]: '/bin/bash -c 'ACTION=$0
' import /root/.gnupg /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-20250406' won't be executed because of failed check 'unless'
Debug: Package[puppet-agent](provider=yum): Ensuring => 8.8.1
Debug: Package[puppet-agent](provider=yum): Detected Arch argument in package! - Moving arch to end of version string
Debug: Executing: '/bin/rpm -q puppet-agent --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Package[puppet-agent](provider=yum): Upgrading package puppet-agent from version 7.30.0-1.el8 to 8.8.1
Debug: Executing: '/bin/yum -d 0 -e 0 -y update puppet-agent-8.8.1'
Error: Could not update: Execution of '/bin/yum -d 0 -e 0 -y update puppet-agent-8.8.1' returned 1: 
Error: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: change from '7.30.0-1.el8' to '8.8.1' failed: Could not update: Execution of '/bin/yum -d 0 -e 0 -y update puppet-agent-8.8.1' returned 1: 
Warning: /Stage[main]/Puppet_agent::Install/Puppet_agent_end_run[8.8.1]: Skipping because of failed dependencies
Notice: /Stage[main]/Puppet_agent::Install/Puppet_agent_end_run[8.8.1]: Dependency Package[puppet-agent] has failures: true
Debug: /Stage[main]/Puppet_agent::Install/Puppet_agent_end_run[8.8.1]: Resource is being skipped, unscheduling all events