3
0

adjust everything for compliance with puppet-lint

This commit is contained in:
Arne Teuke
2025-05-16 11:43:58 +02:00
parent 834fc4085b
commit af0271c446
29 changed files with 72 additions and 5915 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() */
}
}