puppet: Fix puppet-lint warning.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2020-02-20 17:02:51 -08:00 committed by Tim Abbott
parent bf0f1274fa
commit 9d598d95a6
2 changed files with 4 additions and 3 deletions

View File

@ -64,7 +64,8 @@ def run():
description="Runs the puppet parser validator, "
"checking for syntax errors.")
linter_config.external_linter('puppet-lint',
['puppet-lint'] + PUPPET_CHECK_RULES_TO_EXCLUDE, ['pp'],
['puppet-lint', '--fail-on-warnings'] + PUPPET_CHECK_RULES_TO_EXCLUDE,
['pp'],
fix_arg='--fix',
description="Standard puppet linter"
"(config: tools/linter_lib/exclude.py)")