More workarounds
authorTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:56:07 +0000 (18:56 +0100)
committerTollef Fog Heen <tfheen@err.no>
Thu, 2 Jan 2014 17:56:07 +0000 (18:56 +0100)
modules/roles/manifests/init.pp

index 29beab5..e3e88ae 100644 (file)
@@ -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
        }