Puppet Class: profile::statistics::web

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

Overview

Class profile::statistics::web

Parameters:

  • statistics_servers (Any) (defaults to: hiera('statistics_servers'))


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

class profile::statistics::web(
    $statistics_servers = hiera('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': }

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