Managing Platform versions

To receive the most up-to-date software without introducing breaking changes, use the latest platform, 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 6.0:
class { '::puppet_agent':
  collection      => 'latest',
  package_version => '6.0.0',
}
If you’re upgrading from a 1.x version of puppet-agent, simply update the package_version when you’re ready to upgrade to the 6.x series.