Added a proper git pre commit hook for puppet