varrrnish

This commit is contained in:
John Bintz 2012-05-16 20:33:23 -04:00
parent b70926a93c
commit 239df6f79b
2 changed files with 3 additions and 15 deletions

View File

@ -1,15 +0,0 @@
class varnish-default-vcl {
$backend_port = '8080'
$assets_age = 86400
$no_ttl_time = "10m"
$healthy_grace_time = "1m"
$sick_grace_time = "24h"
$probe_interval = "3s"
file { $varnish::vcl_path:
content => template('varnish-default-vcl/default.vcl'),
require => [ Build_and_install[$name], Mkdir_p[$config_path] ],
}
}

View File

@ -34,6 +34,9 @@ stop() {
fi
done
killall -9 varnishd
killall -9 varnishncsa
echo "done"
}