-
Notifications
You must be signed in to change notification settings - Fork 496
Add the ability to configure the cache directory #2757
Copy link
Copy link
Open
Labels
enhancementNew feature or enhancementNew feature or enhancementhelp wantedIssue has been reviewed & PRs are welcomeIssue has been reviewed & PRs are welcome
Description
At present the cache directory is hard coded:
def self.setup_default_cache_dir
windows_dir = windows_data_dir
@facts_cache_dir = if windows_dir
File.join(windows_dir, 'PuppetLabs', 'facter', 'cache', 'cached_facts')
else
'/opt/puppetlabs/facter/cache/cached_facts'
end
end
It would nice to be able to set the cache directory in facter.conf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or enhancementNew feature or enhancementhelp wantedIssue has been reviewed & PRs are welcomeIssue has been reviewed & PRs are welcome