adjust everything for compliance with puppet-lint

This commit is contained in:
Arne Teuke
2025-05-14 13:34:43 +02:00
parent d039135f4c
commit 20f36a3fd4
27 changed files with 54 additions and 3153 deletions

11
Jenkinsfile vendored
View File

@@ -51,16 +51,9 @@ pipeline {
stage('puppet-lint') {
steps {
sh '''find . -iname *.pp -exec /usr/local/rvm/gems/ruby-2.5.0/wrappers/puppet-lint \\
--no-class_inherits_from_params_class-check \\
--no-variable_scope-check \\
--no-80chars-check \\
--no-arrow_alignment-check \\
--no-autoloader_layout-check \\
--no-140chars-check \\
--log-format "%{path}:%{line}:%{check}:%{KIND}:%{message}" {} \\;
sh '''/usr/local/bin/puppet-lint . \\
--no-variable_scope-check \\
'''
recordIssues aggregatingResults: true, tool: puppetLint()
}
}