Puppet Class: profile::requesttracker

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

Overview

server running “Request Tracker” bestpractical.com/request-tracker



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
32
33
34
35
36
37
38
39
40
41
# File 'modules/profile/manifests/requesttracker.pp', line 3

class profile::requesttracker {

    include ::passwords::misc::rt

    require_package('libapache2-mod-perl2', 'libapache2-mod-scgi')
    $cgi_module = 'scgi'

    class { '::httpd':
        modules => ['headers', 'rewrite', 'perl', $cgi_module],
    }

    class { '::requesttracker':
        apache_site => 'rt.wikimedia.org',
        dbhost      => 'm1-master.eqiad.wmnet',
        dbport      => '',
        dbuser      => $passwords::misc::rt::rt_mysql_user,
        dbpass      => $passwords::misc::rt::rt_mysql_pass,
    }

    ferm::service { 'rt-http':
        proto  => 'tcp',
        port   => '80',
        srange => '$CACHES',
    }

    ferm::service { 'rt-migration-rsync':
        proto  => 'tcp',
        port   => '873',
        srange => '@resolve(ununpentium.wikimedia.org)',
    }

    class { '::rsync::server': }

    rsync::server::module { 'rt-srv':
        path        => '/srv',
        read_only   => 'no',
        hosts_allow => 'ununpentium.wikimedia.org',
    }
}