Use notify, not notice for debugging
[mirror/dsa-puppet.git] / modules / roles / manifests / security_mirror.pp
index 9ac9270..ba0a322 100644 (file)
@@ -37,11 +37,11 @@ class roles::security_mirror {
        }
 
        $mirrors = hiera_hash('roles::security_mirror',[])
-       notice("Mirrors: ${mirrors}")
+       notify { "Mirrors: ${mirrors}": }
        $fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
-       notice("Fastly Mirrors: ${fastly_mirrors}")
+       notify { "Fastly Mirrors: ${fastly_mirrors}": }
        $hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
-       notice("Fastly Mirrors: ${hosts_to_check}")
+       notify {"Fastly Mirrors: ${hosts_to_check}": }
 
         roles::mirror_health { 'security':
                check_hosts   => $hosts_to_check,