Puppet Class: requesttracker::forms

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

Overview

sets up custom forms for a Wikimedia RT install



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/requesttracker/manifests/forms.pp', line 2

class requesttracker::forms {

  # the password-reset self-service form
  file { [
    '/usr/local/share/request-tracker4/html',
    '/usr/local/share/request-tracker4/html/Callbacks',
    '/usr/local/share/request-tracker4/html/Callbacks/Default',
    '/usr/local/share/request-tracker4/html/Callbacks/Default/Elements',
    '/usr/local/share/request-tracker4/html/Callbacks/Default/Elements/Login']:
      ensure => 'directory',
      owner  => 'root',
      group  => 'staff',
      mode   => '0755',
  }

  file {
    '/usr/local/share/request-tracker4/html/Callbacks/Default/Elements/Login/AfterForm':
      ensure => 'present',
      owner  => 'root',
      group  => 'staff',
      mode   => '0644',
      source => 'puppet:///modules/requesttracker/AfterForm',
  }

}