Puppet Class: profile::statistics::web

Defined in:
modules/profile/manifests/statistics/web.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class profile::statistics::web

Parameters:

  • statistics_servers (Array[Stdlib::Host]) (defaults to: lookup('statistics_servers'))


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/profile/manifests/statistics/web.pp', line 4

class profile::statistics::web(
    Array[Stdlib::Host] $statistics_servers = lookup('statistics_servers'),
) {

    include ::deployment::umask_wikidev

    class { '::statistics':
        servers      => $statistics_servers,
    }

    # include stuff common to statistics webserver nodes.
    class { '::statistics::web': }

    # # include statistics web sites
    class { '::statistics::sites::stats': }
    class { '::statistics::sites::analytics': }

    firewall::service {'statistics-web':
        proto => 'tcp',
        port  => 80,
    }
}