+ exec { 'reload gobby':
+ command => 'pkill -u gobby -HUP -x infinoted',
+ refreshonly => true,
+ }
+ }
+
+ if has_role('search_backend') {
+ include roles::search_backend
+ }
+ if has_role('search_frontend') {
+ include roles::search_frontend
+ }
+
+ if has_role('dgit_browse') {
+ include roles::dgit_browse
+ }
+ if has_role('dgit_git') {
+ include roles::dgit_git
+ }
+
+ if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] {
+ include roles::snapshot
+ }
+
+ if has_role('snapshot_web') {
+ include roles::snapshot_web
+ }
+
+ if has_role('snapshot_shell') {
+ include roles::snapshot_shell
+ }
+
+ if has_role('veyepar.debian.org') {
+ ssl::service { 'veyepar.debian.org': notify => Exec['service apache2 reload'], key => true, }
+ }
+ if has_role('sreview.debian.org') {
+ ssl::service { 'sreview.debian.net': notify => Exec['service apache2 reload'], key => true, }
+ }
+
+ if has_role('debtags') {
+ include roles::debtags
+ }
+
+ 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, }