Add workaround for buildd not being a real role yet
authorTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:47:12 +0000 (18:47 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:47:12 +0000 (18:47 +0100)
modules/roles/manifests/init.pp

index 261f84f..f16846c 100644 (file)
@@ -15,7 +15,8 @@ class roles {
                }
        }
 
-       if has_role('buildd') {
+       # XXX: turn this into a real role
+       if getfromhash($site::nodeinfo, 'buildd') {
                include buildd
        }