]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
More workarounds
authorTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:49:34 +0000 (18:49 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:49:34 +0000 (18:49 +0100)
modules/roles/manifests/init.pp

index f16846cfaf0e6aa69b723d2f15160e4e493f2725..29beab5c077faee0d6c00a5da54e7670a3e90e8a 100644 (file)
@@ -20,7 +20,8 @@ class roles {
                include buildd
        }
 
-       if has_role('porterbox') {
+       # XXX: turn this into a real role
+       if getfromhash($site::nodeinfo, 'porterbox') {
                include porterbox
        }