Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Get the absolute path to the modules directory

$
0
0
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

Viewing all articles
Browse latest Browse all 6104

Trending Articles