X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=tools%2Fgit-hooks%2Fpre-commit;h=4406089770ba7baaaa39f81b915040a00a918e40;hb=3e90518da89b965f76fbc7e58141c37e37c187bd;hp=590554c0bc3077c631a6f7d3ed19c8e9b3fb0c59;hpb=59db766085de4e5d635cc5f6145c94c6d5cab2dd;p=mirror%2Fdsa-puppet.git diff --git a/tools/git-hooks/pre-commit b/tools/git-hooks/pre-commit index 590554c0b..440608977 100755 --- a/tools/git-hooks/pre-commit +++ b/tools/git-hooks/pre-commit @@ -70,7 +70,7 @@ check_puppet_manifest () { case "${file}" in manifests/site.pp|modules/*/manifests/*) if [[ -n "$(which puppet-lint)" ]]; then - puppet-lint --no-hard_tabs-check --no-80chars-check ${pp} >&2 | uniq + puppet-lint --no-hard_tabs-check --no-2sp_soft_tabs-check --no-80chars-check ${pp} >&2 | uniq else echo "Please install puppet-lint (gem install puppet-lint)" >&2 fi