Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .cache folder in home directory #33

Open
hannesvdvreken opened this issue Jun 6, 2014 · 0 comments
Open

Use .cache folder in home directory #33

hannesvdvreken opened this issue Jun 6, 2014 · 0 comments

Comments

@hannesvdvreken
Copy link

I've set the environment variable to this

LIBRARIAN_CHEF_TMP: ~/.cache/librarian-chef

but unfortunately it creates a new folder in the current folder. So the cookbooks are cached inside /path/to/cheffile/~/.cache/librarian-chef. The docs said clearly that you need to use absolute paths if you don't want to add it to the current folder. Unfortunately the tilde doesn't get expanded.

I tried to find a place in the code where I could make change for a PR, but I'm just a Ruby apprentice.

Thanks!

edit
I've set the environment variable inside the .librarian/chef/config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant