Puppet Class: profile::iegreview

Defined in:
modules/profile/manifests/iegreview.pp

Overview

Class: profile::iegreview

This class provisions the IEG grant review application.

Parameters:

  • iegreview_db_host (Stdlib::Fqdn) (defaults to: lookup('profile::iegreview::db_host'))


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

class profile::iegreview (
    Stdlib::Fqdn $iegreview_db_host = lookup('profile::iegreview::db_host'),
){

    class { '::iegreview':
        hostname   => 'iegreview.wikimedia.org',
        deploy_dir => '/srv/deployment/iegreview/iegreview',
        cache_dir  => '/var/cache/iegreview',
        # Send logs to udp2log relay
        log_dest   => 'udp://udplog.eqiad.wmnet:8420/iegreview',
        # Misc MySQL shard
        mysql_host => $iegreview_db_host,
        mysql_db   => 'iegreview',
        smtp_host  => 'localhost',
    }

    ensure_packages('mariadb-client')
}