rodjek / puppet-lint

Check that your Puppet manifests conform to the style guide
MIT License
820 stars 204 forks source link

should exit with non-zero exit code on warning #920

Open caiodelgadonew opened 4 years ago

caiodelgadonew commented 4 years ago

puppet-lint 2.4.2 returns 0 when showing a warning in a checked file. It should return a non-zero exit code for pipeline integrations with checkstyle

mrburrito commented 4 years ago

Just discovered the --fail-on-warnings flag... have to run puppet-lint --help to find it! It would be great if those flags were in the general documentation on puppet-lint.com!