here we go

This commit is contained in:
Udo Waechter
2014-11-04 13:26:25 +01:00
parent 22680a3510
commit b767706fc2
2 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
class varnish {
class varnish (
$listen_port = '80',
$cache = 'malloc,1500m') {
package { 'varnish': require => Class['packages::backports'], }
# ncsa loggin:
@@ -10,8 +12,9 @@ class varnish {
file {
'/etc/default/varnish':
content => template('varnish/etc_default_varnish.erb'),
notify => Service['varnish'];
content => template('varnish/etc_default_varnish.erb');
notify => Service['varnish'];
'/etc/default/varnishnsca':
content => template('varnish/etc_default_varnishncsa.erb'),