Managing platform versions

To receive the most up-to-date software without introducing breaking changes, pin your infrastructure to known versions, and update the pinned version manually when you’re ready to update.

For example, if you’re using the puppetlabs/puppet_agent module to manage the installed puppet-agent package, use this resource to pin it to version 8.0.0:

Copy
class { '::puppet_agent':
collection      => 'puppet8',
package_version => '8.0.0',
}

To upgrade to newer versions within the puppet7 collection, update the package_version. If you're upgrading from an earlier collection, simply update the collection and package_version.