Skip to content

(MODULES-12012) pdk update to pdk-templates main (8ca954f) - #484

Open
imaqsood wants to merge 3 commits into
mainfrom
MODULES-12012-sa
Open

imaqsood wants to merge 3 commits into
mainfrom
MODULES-12012-sa

Conversation

@imaqsood

Copy link
Copy Markdown
Contributor

Summary

pdk update of puppetlabs/puppetlabs-java_ks to pdk-templates main (8ca954f), with PDK 4.0.1.

Jira: https://perforce.atlassian.net/browse/MODULES-12012 (epic MODULES-11997)

Commits

  • 49c59bf (MODULES-12012) Update .sync.yml for pdk-templates main
  • 10c19c2 (MODULES-12012) Fix rubocop offenses under the template rubocop profile
  • 135b79d (MODULES-12012) pdk update to pdk-templates main (8ca954f)

Hand edits kept in .sync.yml

  • puppet-lint check anchor_resource stays disabled (was in .puppet-lint.rc)

Hand edits dropped

  • Gemfile gemsource_puppetcore = if ENV['PUPPET_FORGE_TOKEN'] (template main's puppetcore gem-source logic)
  • Gemfile ENV['GEM_SOURCE_PUPPETCORE'] || gemsource_default (template main's puppetcore gem-source logic)
  • Gemfile def location_for(place_or_version, fake_version = nil, opts = {}) (template main's puppetcore gem-source logic)
  • Gemfile [place_or_version, { require: false }.merge(opts)] (template main's puppetcore gem-source logic)
  • Gemfile gem "voxpupuli-puppet-lint-plugins", '~> 7.0', require: false (template main's pin/condition for voxpupuli-puppet-lint-plugins)
  • Gemfile gem "puppet_litmus", '~> 2.8', require: false, platforms: [:ruby, :x64_mingw] (template main's pin/condition for puppet_litmus)
  • Rakefile: require 'puppetlabs-syntax/tasks/puppetlabs-syntax' (template main requires puppetlabs-syntax when puppetlabs_spec_helper 9 loads it)
  • .sync.yml Gemfile override puppetlabs_spec_helper ~> 9.0 (template main pins it per gem source; the override dropped that condition and listed the gem twice)
  • Gemfile gem "puppetlabs_spec_helper", '~> 9.0', require: false (template main's pin/condition for puppetlabs_spec_helper)

Tests

cat-module (static, unit; full suite): pass, 134 passed, 0 failed

🤖 Generated with Claude Code

imaqsood and others added 3 commits November 13, 2026 10:47
Prepare .sync.yml for pdk update to pdk-templates main (8ca954f):
set the hand edits to pdk-managed files that are still needed, so the
template renders them, and drop settings main makes obsolete (the PR
body lists each one kept or dropped).

Co-Authored-By: Claude <noreply@anthropic.com>
Safe autocorrect (rubocop --autocorrect) of the offenses the pdk-templates
main (8ca954f) rubocop profile adds, so the pdk update commit does
not park them in .rubocop_todo.yml. Safe cops only: no behaviour change.

Also drop the two `rubocop:disable/enable RSpec/MultipleExpectations` pairs
in keytool_spec.rb. The template profile already excludes provider specs
from that cop, and a `rubocop:enable` comment opts the file back in, which
made the whole file fail under the template's Max: 1. Comments only.

Co-Authored-By: Claude <noreply@anthropic.com>
Run pdk update (PDK 4.0.1) against pdk-templates main at 8ca954f.
Pure pdk output, plus .rubocop_todo.yml regenerated with
`rubocop --auto-gen-config --no-exclude-limit` (kept as is when only its
header would change).

Co-Authored-By: Claude <noreply@anthropic.com>
@imaqsood
imaqsood requested a review from a team as a code owner November 13, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant