projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ebcfaa
)
Use notify, not notice for debugging
author
Tollef Fog Heen
<tfheen@err.no>
Fri, 2 Feb 2018 05:52:45 +0000
(06:52 +0100)
committer
Tollef Fog Heen
<tfheen@err.no>
Fri, 2 Feb 2018 05:52:45 +0000
(06:52 +0100)
modules/roles/manifests/security_mirror.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/security_mirror.pp
b/modules/roles/manifests/security_mirror.pp
index
9ac9270
..
ba0a322
100644
(file)
--- a/
modules/roles/manifests/security_mirror.pp
+++ b/
modules/roles/manifests/security_mirror.pp
@@
-37,11
+37,11
@@
class roles::security_mirror {
}
$mirrors = hiera_hash('roles::security_mirror',[])
}
$mirrors = hiera_hash('roles::security_mirror',[])
- noti
ce("Mirrors: ${mirrors}")
+ noti
fy { "Mirrors: ${mirrors}": }
$fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
$fastly_mirrors = $mirrors.filter |$h| { $h[1]['fastly-backend'] }
- noti
ce("Fastly Mirrors: ${fastly_mirrors}")
+ noti
fy { "Fastly Mirrors: ${fastly_mirrors}": }
$hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
$hosts_to_check = $fastly_mirrors.map |$h| { $h[1]['service-hostname'] }
- noti
ce("Fastly Mirrors: ${hosts_to_check}")
+ noti
fy {"Fastly Mirrors: ${hosts_to_check}": }
roles::mirror_health { 'security':
check_hosts => $hosts_to_check,
roles::mirror_health { 'security':
check_hosts => $hosts_to_check,