]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 29beab5c077faee0d6c00a5da54e7670a3e90e8a..e3e88aec44dc4ed586fb35a0fda7d3bbbfb8fba2 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
        }