Puppet Class: requesttracker::apache

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

Overview

sets up Apache site for a WMF RT install

Parameters:

  • apache_site (Any)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/requesttracker/manifests/apache.pp', line 2

class requesttracker::apache($apache_site) {

    $rt_apache_conf = 'requesttracker/rt4.apache.httponly.erb'

    httpd::site { 'rt.wikimedia.org':
        content => template($rt_apache_conf),
    }

    # avoid [warn] _default_ VirtualHost overlap
    file { '/etc/apache2/ports.conf':
        ensure => present,
        mode   => '0444',
        owner  => 'root',
        group  => 'root',
        source => 'puppet:///modules/requesttracker/ports.conf.ssl',
    }
}