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:
624050b
)
Start setting up mirror health checking for security too
author
Tollef Fog Heen
<tfheen@err.no>
Thu, 1 Feb 2018 16:35:02 +0000
(17:35 +0100)
committer
Tollef Fog Heen
<tfheen@err.no>
Thu, 1 Feb 2018 16:35:02 +0000
(17:35 +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
f09a929
..
2012d03
100644
(file)
--- a/
modules/roles/manifests/security_mirror.pp
+++ b/
modules/roles/manifests/security_mirror.pp
@@
-36,6
+36,13
@@
class roles::security_mirror {
content => template('roles/security_mirror/security.debian.org.erb')
}
+ roles::mirror_health { 'security':
+ check_hosts => hiera('roles::security_mirror'),
+ check_service => 'security',
+ url => 'http://security.backend.mirrors.debian.org/debian/dists/sid/Release',
+ health_url => 'http://security.backend.mirrors.debian.org/_health',
+ }
+
vsftpd::site { 'security':
ensure => absent,
root => '/nonexistent',