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

index e3e88ae..81b668f 100644 (file)
@@ -39,7 +39,9 @@ class roles {
                include roles::security_mirror
        }
 
-       if has_role('apache2_www_mirror') {
+
+        # XXX: turn this into a real role
+        if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
                include roles::www_mirror
        }