A puppet module that installs varnish, sets up daemon options, and pushes out a vcl. It comes with a rather generic VCL file that does some basic caching but is probably insufficient for most environments.
Generic varnish install
class { 'varnish': }
To include your own VCL file
class { 'varnish': vcl_content => template('myapp/myvcl.erb') }
Only tested on CentOS 6
TODO:
[ ] Move vcl definitions to a define and accept multiple?
License:
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR