From: Tollef Fog Heen Date: Thu, 2 Jan 2014 17:47:12 +0000 (+0100) Subject: Add workaround for buildd not being a real role yet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=729e6d78e4d1171c0bf9523e314376510446f56b;p=mirror%2Fdsa-puppet.git Add workaround for buildd not being a real role yet --- diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 261f84f84..f16846cfa 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -15,7 +15,8 @@ class roles { } } - if has_role('buildd') { + # XXX: turn this into a real role + if getfromhash($site::nodeinfo, 'buildd') { include buildd }