]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 261f84f8495276b95abd50cedefab5d5134a3a43..f16846cfaf0e6aa69b723d2f15160e4e493f2725 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
        }