defnull
09/27/2025, 2:46 PM.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?