(GH-cat-9) syntax:hiera:yaml exclusions added pdksync_maint/pdk_update_20-04
authordavid22swan <david.swan@puppet.com>
Wed, 20 Apr 2022 13:07:53 +0000 (14:07 +0100)
committerdavid22swan <david.swan@puppet.com>
Wed, 20 Apr 2022 13:07:53 +0000 (14:07 +0100)
.puppet-lint.rc
.sync.yml
Rakefile
metadata.json

index cc96ece0513d69709b87af611173e2a6e4532f62..b08b2722e436c3f78b2192b055d9aa97f7722f6e 100644 (file)
@@ -1 +1,9 @@
 --relative
+--no-top_scope_facts-check
+--no-topscope_variable-check
+--no-relative_classname_inclusion-check
+--no-parameter_documentation-check
+--no-anchor_resource-check
+--no-strict_indent-check
+--no-unquoted_string_in_case-check
+--no-optional_default-check
index 8e8bd2cd0777fff2204fd8624cab701fea4b2103..07742d2aa2d81ab70478e239f054ad62bfc6f0eb 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -31,3 +31,13 @@ spec/spec_helper.rb:
 .travis.yml:
   delete: true
 changelog_since_tag: '5.0.1'
+Rakefile:
+  extra_disabled_lint_checks:
+    - top_scope_facts
+    - topscope_variable
+    - relative_classname_inclusion
+    - parameter_documentation
+    - anchor_resource
+    - strict_indent
+    - unquoted_string_in_case
+    - optional_default
index 1d5195f9fbd91c72909eacf498710a7b339cadd6..df1e6ec275d8611fe945b053b3959b39aec4db26 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -42,6 +42,14 @@ def changelog_future_release
 end
 
 PuppetLint.configuration.send('disable_relative')
+PuppetLint.configuration.send('disable_top_scope_facts')
+PuppetLint.configuration.send('disable_topscope_variable')
+PuppetLint.configuration.send('disable_relative_classname_inclusion')
+PuppetLint.configuration.send('disable_parameter_documentation')
+PuppetLint.configuration.send('disable_anchor_resource')
+PuppetLint.configuration.send('disable_strict_indent')
+PuppetLint.configuration.send('disable_unquoted_string_in_case')
+PuppetLint.configuration.send('disable_optional_default')
 
 
 if Bundler.rubygems.find_name('github_changelog_generator').any?
@@ -50,7 +58,6 @@ if Bundler.rubygems.find_name('github_changelog_generator').any?
     config.user = "#{changelog_user}"
     config.project = "#{changelog_project}"
     config.since_tag = "5.0.1"
-    config.max_issues = 500
     config.future_release = "#{changelog_future_release}"
     config.exclude_labels = ['maintenance']
     config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
index 0a5113f0cbb847daed35fa607d827ffa786638ff..f351a0cfb130b887753eaf41c24ec747a12f74d9 100644 (file)
@@ -38,5 +38,5 @@
   ],
   "template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
   "template-ref": "heads/main-0-g806810b",
-  "pdk-version": "2.3.0"
+  "pdk-version": "2.4.0"
 }