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
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
94
95
96
97
98
99
100
101
102
103
|
# File 'manifests/params.pp', line 3
class icingaweb2::params {
# Module variables
$git_repo = 'https://github.com/Icinga/icingaweb2.git'
$git_revision = undef
$install_method = 'git'
$manage_apache_vhost = false
$manage_user = true
# Template variables
$admin_permissions = '*'
$admin_users = 'icingaadmin'
$auth_backend = 'db'
$auth_ldap_base_dn = undef
$auth_ldap_filter = undef
$auth_ldap_user_class = 'inetOrgPerson'
$auth_ldap_user_name_attribute = 'uid'
$auth_resource = 'icingaweb_db'
$ido_db = 'mysql'
$ido_db_host = 'localhost'
$ido_db_name = 'icingaweb2'
$ido_db_pass = 'icingaweb2'
$ido_db_port = '3306'
$ido_db_user = 'icingaweb2'
$ido_type = 'db'
$ldap_bind_dn = undef
$ldap_bind_pw = undef
$ldap_encryption = undef
$ldap_host = undef
$ldap_port = '389'
$ldap_root_dn = undef
$log_application = 'icingaweb2'
$log_level = 'ERROR'
$log_method = 'syslog'
$log_resource = 'icingaweb_db'
$log_store = 'db'
$template_auth = 'icingaweb2/authentication.ini.erb'
$template_config = 'icingaweb2/config.ini.erb'
$template_resources ='icingaweb2/resources.ini.erb'
$template_roles = 'icingaweb2/roles.ini.erb'
$template_apache = 'icingaweb2/apache2.conf.erb'
$web_db = 'mysql'
$web_db_host = 'localhost'
$web_db_name = 'icingaweb2'
$web_db_pass = 'icingaweb2'
$web_db_port = '3306'
$web_db_prefix = 'icingaweb2_'
$web_db_user = 'icingaweb2'
$web_type = 'db'
$initialize = false
case $::osfamily {
'RedHat': {
$config_dir = '/etc/icingaweb2'
$config_dir_mode = '2770'
$config_dir_purge = false
$config_dir_recurse = false
$config_file_mode = '0664'
$config_group = 'icingaweb2'
$config_user = 'icingaweb2'
$pkg_ensure = present
$pkg_list = ['icingaweb2']
$web_root = '/usr/share/icingaweb2'
$pkg_deps = [
'php-gd',
'php-intl',
'php-ldap',
'php-mysql',
'php-pecl-imagick',
'php-pgsql',
]
}
'Debian': {
$config_dir = '/etc/icingaweb2'
$config_dir_mode = '0755'
$config_dir_purge = false
$config_dir_recurse = false
$config_file_mode = '0644'
$config_group = 'icingaweb2'
$config_user = 'icingaweb2'
$pkg_ensure = present
$pkg_list = ['icingaweb2']
$web_root = '/usr/share/icingaweb2'
$pkg_deps = [
'php5-gd',
'php5-imagick',
'php5-intl',
'php5-ldap',
'php5-mysql',
'php5-pgsql',
]
}
default: {
fail "Operating system ${::operatingsystem} is not supported."
}
}
}
|