From 96a6d0a7cde9d6561a7ae6c5cf4f9c3ad8a523fc Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Thu, 2 Jan 2014 18:56:07 +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 29beab5c0..e3e88aec4 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -34,7 +34,8 @@ class roles { include roles::dakmaster } - if has_role('apache2_security_mirror') { + # XXX: turn this into a real role + if getfromhash($site::nodeinfo, 'apache2_security_mirror') { include roles::security_mirror } -- 2.20.1