Hi,
I need to store a yaml file and load it with the loadyaml function. But `loadyaml` requires an absolute path. So, how do I reliably get it in the production and dev environment so that when `puppet agent`runs on a node it finds it?
It's my understanding that puppet agent will contact puppet master to get it. So it's the master that is supposed to know about the location of the file. Either way I seem to need an absolute path.
Thanks,
Sergei
↧