Puppet Class: varnish::common::browsersec

Defined in:
modules/varnish/manifests/common/browsersec.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'modules/varnish/manifests/common/browsersec.pp', line 1

class varnish::common::browsersec {
    $errorpage = {
        title       => 'Browser Connection Security Issues',
        pagetitle   => "Your Browser's Connection Security is Outdated",
        logo_link   => 'https://www.wikimedia.org',
        logo_src    => 'https://www.wikimedia.org/static/images/wmf-logo.png',
        logo_srcset => 'https://www.wikimedia.org/static/images/wmf-logo-2x.png 2x',
        logo_width  => '135',
        logo_height => '101',
        logo_alt    => 'Wikimedia',
        content     => template('varnish/browsersec.body.html.erb'),
    }
    $error_browsersec_html = template('mediawiki/errorpage.html.erb')

    file { '/etc/varnish/browsersec.inc.vcl':
        owner     => 'root',
        group     => 'root',
        mode      => '0444',
        content   => template('varnish/browsersec.inc.vcl.erb'),
        show_diff => false,
    }
}