]> 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 ede7f9b1d5ce3434f403dde3f688ed3955798b6c..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') {
@@ -73,5 +77,7 @@ class roles {
 
        if getfromhash($site::nodeinfo, 'static_mirror') {
                include roles::static_mirror
+       } elsif getfromhash($site::nodeinfo, 'static_source') {
+               include roles::static_source
        }
 }