puppet-standalone-mashup/shared/additional-modules/varnish-vcl/manifests/init.pp

16 lines
345 B
ObjectPascal
Raw Normal View History

2012-05-02 22:17:23 +00:00
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] ],
}
}