From f036067f9edca6bce895e793333381b77d68581a Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 2 Jan 2014 18:49:34 +0100 Subject: [PATCH] More workarounds --- modules/roles/manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index f16846cfa..29beab5c0 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -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 } -- 2.20.1