From 98c3e4bc587f2c50018072692f4b5686f663809c Mon Sep 17 00:00:00 2001 From: Kenyon Ralph Date: Sat, 17 Jun 2023 21:24:35 -0700 Subject: [PATCH] disable broken strict_indent puppet-lint plugin Due to https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/20 --- .puppet-lint.rc | 1 + .sync.yml | 8 +++++++- Rakefile | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.puppet-lint.rc b/.puppet-lint.rc index cc96ece..175e065 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1 +1,2 @@ --relative +--no-strict_indent-check diff --git a/.sync.yml b/.sync.yml index 8c2c98e..965197d 100644 --- a/.sync.yml +++ b/.sync.yml @@ -5,4 +5,10 @@ # # See https://github.com/puppetlabs/pdk-templates/blob/main/config_defaults.yml # for the default values. ---- {} + +# Run pdk update after modifying this file. + +--- +Rakefile: + extra_disabled_lint_checks: + - strict_indent diff --git a/Rakefile b/Rakefile index 0f8754e..595d529 100644 --- a/Rakefile +++ b/Rakefile @@ -42,6 +42,7 @@ def changelog_future_release end PuppetLint.configuration.send('disable_relative') +PuppetLint.configuration.send('disable_strict_indent') if Bundler.rubygems.find_name('github_changelog_generator').any?