You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would nice to be able to set the cache directory in facter.conf
Could you expand on why it would be nice to have?
My apologies for not being more descriptive. @scrill hinted at the reason for the original request. We use the facter gem in combination with the puppet gem as part of our testing process. When running tests we get this output:
Warning: Facter: Could not write cache: Permission denied @ dir_s_mkdir - /opt/puppetlabs/facter/cache/cached_facts
Warning: Facter: Could not write cache: Permission denied @ dir_s_mkdir - /opt/puppetlabs/facter/cache/cached_facts
I looked for a way to silence this warning, or move the directory somewhere where the non-root testing user could write. This is when I discovered that the path is hard coded, which was the genesis of this feature request. Thanks!
At present the cache directory is hard coded:
It would nice to be able to set the cache directory in
facter.conf
The text was updated successfully, but these errors were encountered: