]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/init.pp
Add api.ftp-master role
[dsa-puppet.git] / modules / roles / manifests / init.pp
index 063a748e4954aa1f02540037839fce8aac96f6f1..09ccdc3f8c41172cccd69deff586552068f93ca8 100644 (file)
@@ -31,14 +31,6 @@ class roles {
        # XXX: turn this into a real role
        if getfromhash($site::nodeinfo, 'porterbox') {
                include porterbox
-               class {'porterbox':
-                       ensure => present,
-               }
-       } else {
-               include porterbox
-               class {'porterbox':
-                       ensure => absent,
-               }
        }
 
        if has_role('bugs_mirror') {
@@ -61,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