Puppet Class: redmine::params

Inherited by:
redmine
redmine::apache
Defined in:
manifests/params.pp

Overview

Class: redmine::params

This class defines default parameters used by the main module class redmine Operating Systems differences in names and paths are addressed here

Variables

Refer to redmine class for the variables defined here.

Usage

This class is not intended to be used directly. It may be imported or inherited by other classes



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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'manifests/params.pp', line 15

class redmine::params {

  ### Application related parameters

  $db_type = 'mysql'
  $db_adapter = 'mysql2'
  $db_name = 'redmine'
  $db_user = 'redmine'
  $db_password = 'redmine'
  $db_host = 'localhost'
  $db_charset = 'utf8'
  $db_collate = 'utf8_general_ci'
  $webserver_type = undef
  $vhost_template = ''
  $server_name = $::fqdn
  $ip_addr = '*'
  $serveraliases = undef
  $ruby_version = '1.9.3-p547'
  $passenger_version = '4.0.48'
  $owner = 'redmine'
  $group = 'redmine'
  $install_dir = '/home/redmine'
  $install_deps = true
  $email_delivery = 'sendmail'
  $smtp_domain = 'example.net'
  $smtp_server = 'localhost'
  $plugins = undef
  $template_passenger = 'redmine/passenger.erb'
  $ssl = true
  $ssl_protocol = 'All -SSLv2 -SSLv3'
  $ssl_cipher_suite = 'ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP'
  $ssl_cert = "/etc/ssl/certs/${::fqdn}.crt"
  $ssl_cert_key = "/etc/ssl/private/${::fqdn}.key"
  $ssl_ca_cert = '/etc/ssl/certs/startssl.ca.pem'
  $ssl_ca_cert_chain = '/etc/ssl/certs/sub.class1.server.startssl.ca.pem'
  $ssl_cert_src = "puppet:///modules/site/certs/${::fqdn}.crt"
  $ssl_cert_key_src = "puppet:///modules/site/certs/${::fqdn}.key"
  $ssl_ca_cert_src = 'puppet:///modules/site/certs/startssl-ca.pem'
  $ssl_ca_cert_chain_src = 'puppet:///modules/site/certs/startssl-sub.class1.server.ca.pem'

  $install_url_base = 'http://www.redmine.org/releases'

  $config_file_mode = $::operatingsystem ? {
    default => '0644',
  }

  $config_file_owner = $::operatingsystem ? {
    default => 'root',
  }

  $config_file_group = $::operatingsystem ? {
    default => 'root',
  }

  $config_dir = $::operatingsystem ? {
    default => "${install_dir}/redmine/config",
  }

  $config_file = $::operatingsystem ? {
    default => "${install_dir}/redmine/config/configuration.yml",
  }

  $db_config_file = $::operatingsystem ? {
    default => "${install_dir}/redmine/config/database.yml",
  }

  # General Settings
  $my_class = ''
  $source = ''
  $source_dir = ''
  $source_dir_purge = false
  $template = 'redmine/configuration.yml.erb'
  $db_template = 'redmine/database.yml.erb'
  $options = ''
  $version = 'present'
  $absent = false
  $audit_only = false
  $noops = false
}