Skip to content

Instantly share code, notes, and snippets.

View geekq's full-sized avatar
🎯
Hacking

Vladimir Dobriakov geekq

🎯
Hacking
View GitHub Profile
@geekq
geekq / check_puppet_syntax.sh
Created July 30, 2012 13:29
script to syntax-check puppet .pp and .erb files
#!/bin/bash
#Script to test puppet files have valid syntax.
#Intended for use with hudson/jenkins.
set -e
set -u
fail=0
#TODO: Run these in parallel - we have 4 cores.
#TODO: Control the environment (through the config dir?).