Puppet 3.x to 4.x: Post-Upgrade Clean-Up
Included in Puppet Enterprise 2016.1. A newer version is available; see the version menu above for details.
After upgrading, you should do a few more things to make Puppet 4 easier to maintain.
Reconfigure Systems that Use Puppet’s Data
Puppet 4 changes the locations of many configuration files. If you have any other systems that reuse Puppet’s SSL credentials, configuration data, or generated data, point them to the new directories.
Update Backup Jobs
If you back up data in directories that moved (like
/etc/puppet, whose contents are now split between
/etc/puppetlabs/code), update your backup jobs to use the new locations.
/etc/puppet Directory on *nix Systems
Avoid maintenance and configuration confusion by deleting the old
/etc/puppet directory on your *nix systems. This prevents other systems from using stale data and protects sysadmins from accidentally updating the wrong copies of files.
Delete the Per-Environment
puppet_agent Class from Nodes
puppet_agent module doesn’t affect nodes running Puppet 4, and you can unassign it from all nodes after your entire Puppet infrastructure is upgraded.