Puppet Class: profile::statistics::private

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

Overview

Class profile::statistics::private

Parameters:

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


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
# File 'modules/profile/manifests/statistics/private.pp', line 3

class profile::statistics::private(
    $labstore_hosts      = hiera('labstore_hosts'),
) {

    include ::profile::statistics::base

    class {'::deployment::umask_wikidev': }

    # Directory to host datasets that are generated locally and synced over
    # via rsync fetch jobs running on the dumps distribution servers
    file {'/srv/dumps':
        ensure => 'directory',
        mode   => '0775',
        owner  => 'stats',
        group  => 'wikidev',
    }

    # Include the MySQL research password at
    # /etc/mysql/conf.d/analytics-research-client.cnf
    # and only readable by users in the
    # analytics-privatedata-users group.
    statistics::mysql_credentials { 'analytics-research':
        group => 'analytics-privatedata-users',
    }

    # The eventlogging codebase is useful for scripting
    # EventLogging consumers.  Install this but don't run any daemons.
    class { '::eventlogging': }
}