fix onion role for debug
authorPeter Palfrader <peter@palfrader.org>
Fri, 12 Oct 2018 12:26:37 +0000 (14:26 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 12 Oct 2018 12:26:37 +0000 (14:26 +0200)
modules/roles/manifests/debug_mirror.pp

index f7b6128..73d521b 100644 (file)
@@ -23,7 +23,7 @@ class roles::debug_mirror {
                content => template('roles/apache-debug.mirrors.debian.org.erb'),
        }
 
-       if has_role('static_mirror_onion') {
+       if has_role('debug_mirror_onion') {
                if ! $onion_v4_addr {
                        fail("Do not have an onion_v4_addr set for $::hostname.")
                }