]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/init.pp
Revert "Revert "now make it go away""
[dsa-puppet.git] / modules / roles / manifests / init.pp
index 647f4576aecfb58db6cec2f5c3d1bf24fea0eea2..331aa118014b7f35b610adac3ac25c5882c3617e 100644 (file)
@@ -8,12 +8,16 @@ class roles {
                include munin::master
        }
 
-       if getfromhash($site::nodeinfo, 'nagiosmaster') {
-               include nagios::server
-       }
+       #if getfromhash($site::nodeinfo, 'nagiosmaster') {
+       #       include nagios::server
+       #}
 
        if getfromhash($site::nodeinfo, 'buildd') {
                include buildd
+       } else {
+               class { 'buildd':
+                       ensure => absent
+               }
        }
 
        if getfromhash($site::nodeinfo, 'bugs_mirror') {
@@ -66,4 +70,14 @@ class roles {
        if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') {
                include roles::ftp-upcoming_mirror
        }
+
+       if getfromhash($site::nodeinfo, 'static_master') {
+               include roles::static_master
+       }
+
+       if getfromhash($site::nodeinfo, 'static_mirror') {
+               include roles::static_mirror
+       } elsif getfromhash($site::nodeinfo, 'static_source') {
+               include roles::static_source
+       }
 }