From: Stephen Gran Date: Sat, 2 Mar 2013 15:28:01 +0000 (+0000) Subject: try to get rid of cruft X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=bae2379d07fb7dc5e953b3f090950965300705a8;p=mirror%2Fdsa-puppet.git try to get rid of cruft Signed-off-by: Stephen Gran --- diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index cc82cda76..331aa1180 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -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') {