+
+ if has_role('planet_master') {
+ include roles::planet_master
+ }
+ if has_role('planet_search') {
+ ssl::service { 'planet-search.debian.org': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('i18n.d.o') {
+ ssl::service { 'i18n.debian.org': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('l10n.d.o') {
+ ssl::service { 'l10n.debian.org': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('dedup.d.n') {
+ ssl::service { 'dedup.debian.net': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('pet.d.n') {
+ ssl::service { 'pet.debian.net': notify => Exec['service apache2 reload'], key => true, }
+ ssl::service { 'pet-devel.debian.net': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('ports_master') {
+ include roles::ports_master
+ }
+ if has_role('ports_mirror') {
+ include roles::ports_mirror
+ }
+
+ if has_role('onionbalance') {
+ include onion::balance
+ }
+ if has_role('bgp') {
+ include roles::bgp
+ }
+ if has_role('cdimage-search') {
+ include roles::cdimage_search
+ }
+
+ if has_role('postgresql_server') {
+ include postgres::backup_source
+ }
+
+ if has_role('bacula_director') {
+ include bacula::director
+ } else {
+ package { 'bacula-console': ensure => purged; }
+ file { '/etc/bacula/bconsole.conf': ensure => absent; }
+ }
+ if has_role('bacula_storage') {
+ include bacula::storage
+ }
+
+ if has_role('salsa.debian.org') {
+ include salsa
+ }
+
+ if $::keyring_debian_org_mirror {
+ include roles::keyring_debian_org_mirror
+ }
+
+ if has_role('popcon') {
+ include roles::popcon
+ }
+
+ if has_role('debsources') {
+ include roles::debsources
+ }