From 7700f4b4f889b3026072278765312b74e0f5beb7 Mon Sep 17 00:00:00 2001 From: david22swan Date: Mon, 21 Oct 2024 10:08:17 +0100 Subject: [PATCH] (maint) Add note to update the pdk-templates lint whenever it is change here In order to ensure that our lint testing remains in step we must keep these two files in sync with eachother: - https://github.com/puppetlabs/puppetlabs_spec_helper/blob/main/lib/puppetlabs_spec_helper/rake_tasks.rb#L124 - https://github.com/puppetlabs/pdk-templates/blob/d9e6478ff7730a8ce072ce0c1d36a9b79f05ba2c/config_defaults.yml#L69 --- lib/puppetlabs_spec_helper/rake_tasks.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/puppetlabs_spec_helper/rake_tasks.rb b/lib/puppetlabs_spec_helper/rake_tasks.rb index bbe33bce..9667e8bc 100644 --- a/lib/puppetlabs_spec_helper/rake_tasks.rb +++ b/lib/puppetlabs_spec_helper/rake_tasks.rb @@ -121,6 +121,8 @@ end end +# Ensure that any changes to lint here are reflected within the config_defaults.yml file inside the pdk-templates: +# - https://github.com/puppetlabs/pdk-templates/blob/d9e6478ff7730a8ce072ce0c1d36a9b79f05ba2c/config_defaults.yml#L69 require 'puppet-lint/tasks/puppet-lint' # Must clear as it will not override the existing puppet-lint rake task since we require to import for # the PuppetLint::RakeTask