we do not want that check
authorStephen Gran <steve@lobefin.net>
Tue, 31 Dec 2013 09:12:30 +0000 (09:12 +0000)
committerStephen Gran <steve@lobefin.net>
Tue, 31 Dec 2013 09:12:30 +0000 (09:12 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
tools/git-hooks/pre-commit

index 243f062..8364fdc 100755 (executable)
@@ -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