A new release is out for the Puppet Development Kit and it has some new additions like Debian 13 support, some security-related updates, and some new validation for Ruby syntax to help you get yourself ready for Puppet Core 9!
The next releases of Puppet Core 9 and Puppet Enterprise 2026, due out soon, will be moving to Ruby 4. To help you get ready, you can start using this new version of PDK on your Puppet 8 installation to look for areas that might need updates.
When you run pdk validate, it can now identify changes you can make that will be safe to run on Puppet 8, but also will prepare your codebase for Puppet Core 9:
- Code that uses legacy Ruby Hash#inspect formatting, for example
{:x=>1, "baz"=>3}. Legacy formatting can cause module code to fail after you upgrade to Puppet Core 9. - Ruby 4 syntax compatibility checks.
- The Security/Open Rubocop flags Ruby patterns associated with
Kernel#openandIO.openinvocation that are no longer valid in Ruby 4.
Once Puppet Core 9 is out, you'll be able to do additional validation, but this should help you get started finding those places where the syntax might need some updates.
Full release notes: https://help.puppet.com/pdk/current/topics/release_notes_pdk.htm#PDK380
Download PDK: https://forge.puppet.com/resources/pdk
Top comments (0)