switch the statis hosts to hiera roles
[mirror/dsa-puppet.git] / modules / tcp_bbr / manifests / init.pp
index a7ae478..22ee676 100644 (file)
@@ -25,8 +25,8 @@ class tcp_bbr {
                   has_role('security_upload') or
                   has_role('ssh.upload.d.o') or
                   defined(Class["staticync::static_master"]) or
-                  has_role('static_mirror') or
-                  has_role('static_source') or
+                  defined(Class["staticync::static_mirror"]) or
+                  defined(Class["staticync::static_source"]) or
                   has_role('syncproxy') or
                   has_role('www_master') or
                   false {