Add new moszumanska-lvm volume
[mirror/dsa-puppet.git] / modules / roles / manifests / init.pp
index 5ec93d1..09ccdc3 100644 (file)
@@ -30,13 +30,7 @@ class roles {
 
        # XXX: turn this into a real role
        if getfromhash($site::nodeinfo, 'porterbox') {
-               class {'porterbox':
-                       ensure => present,
-               }
-       } else {
-               class {'porterbox':
-                       ensure => absent,
-               }
+               include porterbox
        }
 
        if has_role('bugs_mirror') {
@@ -59,6 +53,12 @@ class roles {
                include roles::dakmaster
        }
 
+       if has_role('api.ftp-master') {
+               ssl::service { 'api.ftp-master.debian.org':
+                       notify => Service['apache2'],
+               }
+       }
+
        # XXX: turn this into a real role
        if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
                include roles::security_mirror