-
Notifications
You must be signed in to change notification settings - Fork 2
/
site.pp.template
66 lines (62 loc) · 3.18 KB
/
site.pp.template
1
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
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
node default {
idpfirewall::firewall { "{{ vals[''] }}{hostname}-firewall":
iptables_enable_network => undef,
}
$hostfqdn = '{{ vals['idpfqdn'] }}'
$keystorepassword = '{{ vals['keystorepassword'] }}'
$mailto = '{{ vals['mailto'] }}'
$nagiosserver = '{{ vals['nagiosserver'] }}'
shib2common::instance { "${hostname}-common":
install_apache => true,
install_tomcat => true,
configure_admin => {{ vals['configure_admin'] }},
tomcat_admin_password => '{{ vals['tomcat_admin_password'] }}',
tomcat_manager_password => '{{ vals['tomcat_manager_password'] }}',
hostfqdn => $hostfqdn,
keystorepassword => $keystorepassword,
mailto => $mailto,
nagiosserver => $nagiosserver,
}
shib2idp::instance { "${hostname}-idp":
metadata_information => {
{% for curlang in vals['mdui_langs'] %}
'{{ curlang }}' => {
'orgDisplayName' => '{{ vals['orgDisplayName_%s' % curlang] }}',
'communityDesc' => '{{ vals['communityDesc_%s' % curlang] }}',
'orgUrl' => '{{ vals['orgUrl_%s' % curlang] }}',
'privacyPage' => '{{ vals['privacyPage_%s' % curlang] }}',
'nameOrg' => '{{ vals['nameOrg_%s' % curlang] }}',
'idpInfoUrl' => '{{ vals['idpInfoUrl_%s' % curlang] }}',
'url_LogoOrg_32x32' => '{{ vals['url_LogoOrg_32x32_%s' % curlang] }}',
'url_LogoOrg_160x120' => '{{ vals['url_LogoOrg_160x120_%s' % curlang] }}',
},
{% endfor %}
'technicalIDPadminEmail' => '{{ vals['technicalEmail'] }}',
'technicalIDPadminGivenName' => '',
'technicalIDPadminSurName' => '',
'technicalIDPadminTelephone' => '',
'registrationInstant' => '{{ vals['registrationInstant'] }}',
},
shibbolethversion => {{ vals['shibbolethversion'] }},
install_uapprove => {{ vals['install_uapprove'] }},
idpfqdn => $hostfqdn,
keystorepassword => $keystorepassword,
mailto => $mailto,
install_ldap => {{ vals['install_ldap'] }},
domain_name => '{{ vals['domain_name'] }}',
basedn => '{{ vals['basedn'] }}',
rootdn => '{{ vals['rootdn'] }}',
rootpw => '{{ vals['rootpw'] }}',
rootldappw => '{{ vals['rootldappw'] }}',
ldap_host => {{ vals['ldap_host'] }},
ldap_use_ssl => {{ vals['ldap_use_ssl'] }},
ldap_use_tls => {{ vals['ldap_use_tls'] }},
logserver => '{{ vals['logserver'] }}',
collectdserver => '{{ vals['collectdserver'] }}',
nagiosserver => $nagiosserver,
sambadomain => '{{ vals['sambadomain'] }}',
test_federation => {{ vals['test_federation'] }},
custom_styles => {{ vals['custom_styles'] }},
first_install => {{ vals['first_install'] }},
}
}