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 (from parent 1:
d25a2c7
)
Do not ship sbin/mirror-health from the roles version while we migrate
author
Peter Palfrader
<peter@palfrader.org>
Sun, 22 Sep 2019 15:13:31 +0000
(17:13 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 22 Sep 2019 15:13:31 +0000
(17:13 +0200)
modules/roles/manifests/mirror_health.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/mirror_health.pp
b/modules/roles/manifests/mirror_health.pp
index
41a970d
..
d4d0d62
100644
(file)
--- a/
modules/roles/manifests/mirror_health.pp
+++ b/
modules/roles/manifests/mirror_health.pp
@@
-7,15
+7,15
@@
define roles::mirror_health (
) {
ensure_packages(['python3-requests'], { ensure => 'installed' })
) {
ensure_packages(['python3-requests'], { ensure => 'installed' })
-
if !defined(File['/usr/local/sbin/mirror-health']) {
-
file { '/usr/local/sbin/mirror-health':
-
source => 'puppet:///modules/roles/mirror_health/mirror-health',
-
owner => 'root',
-
group => 'root',
-
mode => '0555',
- notify => Service["mirror-health-${check_service}"],
- }
- }
+
#
if !defined(File['/usr/local/sbin/mirror-health']) {
+
#
file { '/usr/local/sbin/mirror-health':
+
#
source => 'puppet:///modules/roles/mirror_health/mirror-health',
+
#
owner => 'root',
+
#
group => 'root',
+
#
mode => '0555',
+
#
notify => Service["mirror-health-${check_service}"],
+
#
}
+
#
}
file { "/etc/systemd/system/mirror-health-${check_service}.service":
owner => 'root',
file { "/etc/systemd/system/mirror-health-${check_service}.service":
owner => 'root',