Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Use lazy defaults for Chef Config #276

Merged
merged 1 commit into from
Aug 20, 2014
Merged

Conversation

sethvargo
Copy link
Contributor

The default for some Chef Config objects (like file_cache_path) was Dir.mktmpdir. Since this file is evaluated at runtime, the temporary directory was being created, regardless of whether Ridley was invoked... Simply requiring the file would cause a tmpdir to be created.

The default for some Chef Config objects (like file_cache_path) was
Dir.mktmpdir. Since this file is evaluated at runtime, the temporary
directory was being created, regardless of whether Ridley was invoked...
Simply requiring the file would cause a tmpdir to be created.
reset added a commit that referenced this pull request Aug 20, 2014
@reset reset merged commit aa118f8 into master Aug 20, 2014
@reset reset deleted the sethvargo/delayed_defaults branch August 20, 2014 18:20
@poliva83
Copy link

Thank you @sethvargo

@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants