}
}
- # XXX: turn this into a real role
- if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
- include roles::security_mirror
+ if has_role('manpages') {
+ ssl::service { 'manpages.debian.org':
+ notify => Service['apache2'],
+ key => true,
+ }
}
# XXX: turn this into a real role
- if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
- include roles::www_mirror
+ if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
+ include roles::security_mirror
}
if has_role('mirror_debug') {
if has_role('packages') {
ssl::service { 'packages.debian.org':
notify => Service['apache2'],
- tlsaport => [],
+ key => true,
}
}
if has_role('gobby_debian_org') {
ssl::service { 'gobby.debian.org':
notify => Service['apache2'],
+ key => true,
+ tlsaport => [443, 6523],
}
}