# XXX: turn this into a real role
if getfromhash($site::nodeinfo, 'porterbox') {
- include porterbox
+ class {'porterbox':
+ ensure => present,
+ }
+ } else {
+ class {'porterbox':
+ ensure => absent,
+ }
}
if has_role('bugs_mirror') {
include roles::git_master
}
+ if has_role('people') {
+ ssl::service { 'people.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
if has_role('security_master') {
include roles::security_master
include roles::dakmaster
if has_role('dns_primary') {
include named::primary
}
- if has_role('dns_secondary') {
- include named::authoritative
- }
if has_role('weblog_destination') {
include roles::weblog_destination
include roles::sso
}
+ if has_role('tracker') {
+ include roles::tracker
+ }
+
if has_role('buildd_master') {
include roles::buildd_master
}
+ if has_role('buildd_ports_master') {
+ include roles::buildd_ports_master
+ }
+
if has_role('piuparts') {
include roles::piuparts
}
include roles::rtc
}
+ if has_role('keystone') {
+ include roles::keystone
+ }
+
if has_role('postgres_backup_server') {
include postgres::backup_server
}
notify => Service['apache2'],
}
}
+
+ if has_role('qamaster') {
+ ssl::service { 'qa.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
+ if has_role('packagesqamaster') {
+ ssl::service { 'packages.qa.debian.org':
+ notify => Service['apache2'],
+ }
+ }
+
+ if has_role('gobby_debian_org') {
+ ssl::service { 'gobby.debian.org':
+ tlsaport => 0,
+ }
+ }
}