# XXX: turn this into a real role
if getfromhash($site::nodeinfo, 'porterbox') {
- class {'porterbox':
- ensure => present,
- }
- } else {
- class {'porterbox':
- ensure => absent,
- }
+ include porterbox
}
if has_role('bugs_mirror') {
include roles::dakmaster
}
+ if has_role('api.ftp-master') {
+ ssl::service { 'api.ftp-master.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
# XXX: turn this into a real role
if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
include roles::security_mirror
include roles::lists
}
+ if has_role('list_search') {
+ include roles::listsearch
+ }
+
if has_role('rtmaster') {
include roles::rtmaster
}
tlsaport => 0,
}
}
+
+ if has_role('search_backend') {
+ include search_backend
+ }
+ if has_role('search_frontend') {
+ include search_frontend
+ }
}