From: Tollef Fog Heen Date: Thu, 2 Jan 2014 18:07:39 +0000 (+0100) Subject: More workarounds X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=75e631eaf68f569d032fbff644403acd35939206;p=mirror%2Fdsa-puppet.git More workarounds --- diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index e3e88aec4..81b668fde 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -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 }