Puppet Class: requesttracker

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

Overview

RT - Request Tracker This will create a server running RT with Apache and a Wikimedia configuration

Parameters:

  • dbuser (Any)
  • dbpass (Any)
  • apache_site (Any) (defaults to: 'rt.wikimedia.org')
  • dbhost (Any) (defaults to: 'localhost')
  • dbport (Any) (defaults to: '3306')
  • datadir (Any) (defaults to: '/var/lib/mysql')


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
# File 'modules/requesttracker/manifests/init.pp', line 4

class requesttracker (
    $dbuser,
    $dbpass,
    $apache_site = 'rt.wikimedia.org',
    $dbhost      = 'localhost',
    $dbport      = '3306',
    $datadir     = '/var/lib/mysql'
) {

    $rt_mysql_user = $dbuser
    $rt_mysql_pass = $dbpass
    $rt_mysql_host = $dbhost
    $rt_mysql_port = $dbport


    include ::requesttracker::packages
    include ::requesttracker::config
    include ::requesttracker::forms
    # include requesttracker::plugins
    include ::requesttracker::aliases

    class { '::requesttracker::apache':
        apache_site => $apache_site,
    }

}