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
Varnish can run with many different types of storages (even with storages in RAM partitions) and AFAIK Debian and Ubuntu, by default, don't provide this directory and use a RAM storage instead.
Currently this module is not checking the existence of the $storage_file's directory (which would be a nice thing to add :) ).
I'll keep this issue opened as a reminder to add this feature.
yup, i think the default varnish install was using malloc until i used the modules varnish template, which is sets it to file and breaks.
.
i'll give patching it a go and submit if i get it going.
$storage_file = '/var/lib/varnish/$INSTANCE/varnish_storage.bin' resolves to:
/var/lib/varnish/default/varnish_storage.bin
when 'puppet agent' runs, it cant restart the service because the 'default' directory does not exist.
creating and chown'ing the 'default' directory to varnish:varnish allows the service to start properly.
i'm running Puppet 2.7, current puppet-varnish, and Ubuntu 12.04 on the host in question.
shouldnt this directory should be created by your module, if it doesnt exist?
The text was updated successfully, but these errors were encountered: