I could use some ideas. We have a (custom) setup t...
# puppet
d
I could use some ideas. We have a (custom) setup that checks out environments from git, installs all dependencies and then copies the entire environment over to the actual openvox-server. We do not copy the
.git
directory though. Now a team would like to have git-related information (e.g. the commit hash representing the environment) available inside puppet as a variable/fact to be able to write those into generated templates (e.g. config file headers). How to best approach this? My current idea is to inject a
data/git_meta.yaml
file into the environment and tell the team to load this file in their environment specific
hiera.yaml
config. Any other/better ideas?