mattiasgeniar / puppet-pre-commit-hook

A Puppet pre-commit hook to validate syntax
MIT License
60 stars 36 forks source link

added color and unified output format and wording #19

Closed JakeTRogers closed 7 years ago

JakeTRogers commented 7 years ago

added color to the hook's output via tput so that it fails gracefully on terminals that dont support color. I also unified the format and wording while quieting the output from ruby to avoid displaying redundant 'Syntax OK' messages. Also reordered the manifest check before epp, so that the template checks are together.

mattiasgeniar commented 7 years ago

Damn Jake, impressive work. Thanks for the commit!