Name: evenup-varnish
Owner: Simpleweb
Description: Installs, configures, and runs the varnish service.
Created: 2015-02-09 22:58:43.0
Updated: 2015-02-09 22:58:43.0
Pushed: 2015-02-09 23:02:06.0
Homepage: null
Size: 110
Language: Puppet
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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