]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 243f06292bf31be98b6a9ba28582a794440ddefb..8364fdce3e0432bd2ae47521293c546c29f5b038 100755 (executable)
@@ -70,7 +70,7 @@ check_puppet_manifest () {
         case "${file}" in
                 manifests/site.pp|modules/*/manifests/*)
                         if [[ -n "$(which puppet-lint)" ]]; then
         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
                        else
                                echo "Please install puppet-lint (gem install puppet-lint)" >&2
                         fi