nagiosmaster:
# XXX - used by ferm templates/defs.conf.erb
- tchaikovsky.debian.org
- packagesmaster:
- # XXX - exim config flag only
- - picconi.debian.org
- packagesqamaster:
- # XXX - exim config flag
- - quantz.debian.org
security_master:
# XXX - used by ferm templates/defs.conf.erb
- seger.debian.org
---
classes:
- roles::packages
+
+exim::is_packagesmaster: true
apache2::mpm: prefork
# qa scripts sometimes needs a lot of memory. raise the limit to 300 MB
apache2::rlimitmem: 314572800
+
+exim::is_packagesqamaster: true
Boolean $is_bugsmx = false,
Boolean $is_mailrelay = false,
Boolean $is_rtmaster = false,
+ Boolean $is_packagesmaster = false,
+ Boolean $is_packagesqamaster = false,
) {
-
- $is_packagesmaster = has_role('packagesmaster')
- $is_packagesqamaster = has_role('packagesqamaster')
-
include exim::vdomain::setup
include debian_org::mail_incoming_port
include postgres::backup_server
}
-
- if has_role('packagesqamaster') {
- ssl::service { 'packages.qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
- }
-
if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] {
include roles::snapshot
}
--- /dev/null
+class roles::packagesqamaster {
+ include apache2
+ ssl::service { 'packages.qa.debian.org': notify => Exec['service apache2 reload'], key => true, }
+}