Style question: Pull hiera changes from Git repo through cron or puppet?
I'm managing the setup and overeall configuration of my puppet master through puppet itself, including the
hiera.yaml hiera configuration file. However, I'm leaving the
hieradata files out of puppet control, and instead just leaving them in a git directory that tracks a remote repo on our central git server.
My question: Since puppet is controlling the
hiera.yaml file, should I have puppet initiate the
git pull to update the hiera data also, or should I do that via an external cron job that the puppet_master module manages?