]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/init.pp
now make it go away
[dsa-puppet.git] / modules / roles / manifests / init.pp
index cc82cda76cbdbec279295f92cf7d021d46cfbb41..331aa118014b7f35b610adac3ac25c5882c3617e 100644 (file)
@@ -13,9 +13,11 @@ class roles {
        #}
 
        if getfromhash($site::nodeinfo, 'buildd') {
-               $foo = getfromhash($site::nodeinfo, 'buildd')
-               notice("Buildd is ${foo}")
                include buildd
+       } else {
+               class { 'buildd':
+                       ensure => absent
+               }
        }
 
        if getfromhash($site::nodeinfo, 'bugs_mirror') {