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

support for creation of cache file directory. #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cybacolt
Copy link

Fixes issue with Ubuntu 12.04 once malloc is not used.

previously varnish service wouldnt start once Ubuntu was configured for file caching due to a missing cache directory.

this patch recursively creates the required directory and permissions, while also exposing 'storage_dir' as a configurable variable.

@@ -567,6 +573,28 @@
}


### If using file caching, make sure parent directories are created
if $varnish::storage_file != 'malloc' {
exec{'varnish_cache_dir':
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs path => added, rather than hard coded bin paths

@javierbertoli
Copy link
Member

Hi, I recently posted this message and would really appreciate any help if you're interested.

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

Successfully merging this pull request may close these issues.

2 participants