Add pre-commit for puppet.