Tag Archives: cf-promises

pre-commit hook for git to check CFEngine syntax

Sometimes I am not so disciplined to run cf-promises on my policy before I commit it. I make a small change and I think I’m golden, but inevitably that breaks things. I wrote a simple commit hook to check policy syntax and stop you from shooting yourself in the foot. You can find  the pre-commit […]