add bugs.d.o
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index e3e88ae..1f610ae 100644 (file)
@@ -8,7 +8,7 @@ class roles {
                include munin::master
        }
 
-       if getfromhash($site::nodeinfo, 'nagiosmaster') {
+       if has_role('nagiosmaster') {
        #       include nagios::server
                ssl::service { 'nagios.debian.org':
                        notify => Service['apache2'],
@@ -27,6 +27,9 @@ class roles {
 
        if has_role('bugs_mirror') {
                include roles::bugs_mirror
+               ssl::service { 'bugs.debian.org':
+                       notify => Service['apache2'],
+               }
        }
 
        if has_role('ftp_master') {
@@ -39,7 +42,8 @@ class roles {
                include roles::security_mirror
        }
 
-       if has_role('apache2_www_mirror') {
+       # XXX: turn this into a real role
+       if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
                include roles::www_mirror
        }
 
@@ -129,6 +133,10 @@ class roles {
                include roles::udd
        }
 
+       if has_role('sso') {
+               include roles::sso
+       }
+
        if has_role('buildd_master') {
                include roles::buildd_master
        }