Correct hiera function call syntax
authorTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 05:22:18 +0000 (06:22 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 2 Feb 2018 05:22:18 +0000 (06:22 +0100)
modules/roles/manifests/security_mirror.pp

index 9ac9270..ddf6e9f 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}")