+ 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
+ }