Revert "Correct hiera function call syntax"
authorTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 05:50:41 +0000 (06:50 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 05:50:41 +0000 (06:50 +0100)
This reverts commit a6d0545f07cac7f094c6952d57c2580b911aee4b.

modules/roles/manifests/security_mirror.pp

index ddf6e9f..9ac9270 100644 (file)
@@ -36,7 +36,7 @@ class roles::security_mirror {
                content => template('roles/security_mirror/security.debian.org.erb')
        }
 
-       $mirrors = hiera_hash('roles.security_mirror',[])
+       $mirrors = hiera_hash('roles::security_mirror',[])
        notice("Mirrors: ${mirrors}")
        $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
        notice("Fastly Mirrors: ${fastly_mirrors}")