From bae2379d07fb7dc5e953b3f090950965300705a8 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 2 Mar 2013 15:28:01 +0000 Subject: [PATCH] try to get rid of cruft Signed-off-by: Stephen Gran --- modules/roles/manifests/init.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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') { -- 2.20.1