First off, I apologize for asking such a dumb question. But the reason I ask is because I'm having a hard time finding an answer. I've tried searching Chef's docs, but I have not found a clear explanation.
So what exactly doesChef::Config[:file_cache_path]
provide? I've read that its better to use this instead of harding coding a filepath. But what does it evaluate to?
In this particular snippet
newrelic_agent = Chef::Config[:file_cache_path] + '/rewrelic_nginx_agent.tar.gz'
remote_file newrelic_agent do
source 'http://nginx.com/download/newrelic/newrelic_nginx_agent.tar.gz'
mode "0744"
end
Thanks in advance.