You upgraded Puppet Enterprise using the puppetlabs-puppet_agent
module, but some of your agent nodes either revert to an earlier version or are not upgraded.
Version and installation information
PE version: All supported
Solution
If the wrong version of the agent package is installed on your agents, either puppet_agent
is configured to use the wrong version of the agent package, or your compilers are not upgraded and are serving the wrong version of the package to your agent nodes.
-
Check the
package_version
parameter for the code applying thepuppet_agent
class. If it’s set to an earlier version of the agent package, edit the parameter value to set the correct version. -
If the
package_version
parameter is set toauto
or to the correct version number, check your compilers to see if they are upgraded.On each compiler:
A. Check the version number of the package by running
facter -p pe_build
B. Check to make sure that the
current
folder in the folder where the packages are served softlinks to the correct version of the package. Runls -ltrh /opt/puppetlabs/server/data/packages/public/
Your output should look similar to:
lrwxrwxrwx. 1 root root 52 Jun 21 10:23 current -> /opt/puppetlabs/server/data/packages/public/2021.6.0
-
If the version number is not correct, your compiler is serving old packages to your nodes. Resolve any upgrade issues with your compilers.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles