1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'modules/varnish/manifests/common/vcl.pp', line 1
class varnish::common::vcl($vcl_config={}) {
require varnish::common
require varnish::common::errorpage
require varnish::common::browsersec
file { '/etc/varnish/translation-engine.inc.vcl':
owner => 'root',
group => 'root',
mode => '0444',
content => template('varnish/translation-engine.inc.vcl.erb'),
}
file { '/etc/varnish/analytics.inc.vcl':
owner => 'root',
group => 'root',
mode => '0444',
content => template('varnish/analytics.inc.vcl.erb'),
}
file { '/etc/varnish/analytics-dp-helper.vcl':
owner => 'root',
group => 'root',
mode => '0444',
content => template('varnish/analytics-dp-helper.vcl.erb'),
}
file { '/etc/varnish/alternate-domains.inc.vcl':
owner => 'root',
group => 'root',
mode => '0444',
content => template('varnish/alternate-domains.inc.vcl.erb'),
}
# Directory with test versions of VCL files to run VTC tests
file { '/usr/share/varnish/tests':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
}
|