puppetlabs / control-repo

A control repository template
Apache License 2.0
204 stars 510 forks source link

check if git repo exists when generating config version #110

Closed milesstoetzner closed 2 years ago

milesstoetzner commented 2 years ago

If git is installed on the system but the control repo is actually not a git repo the scripts/config_version.sh script fails. Fixed by checking if .git exists.

See https://github.com/puppetlabs/control-repo/issues/86

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.