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:
e164000
)
Use ensure_packages to avoid problems with puppet redeclaring resources
author
Tollef Fog Heen
<tfheen@err.no>
Thu, 1 Feb 2018 18:38:11 +0000
(19:38 +0100)
committer
Tollef Fog Heen
<tfheen@err.no>
Thu, 1 Feb 2018 18:38:31 +0000
(19:38 +0100)
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
ec1102d
..
ebc195e
100644
(file)
--- a/
modules/roles/manifests/mirror_health.pp
+++ b/
modules/roles/manifests/mirror_health.pp
@@
-5,9
+5,7
@@
define roles::mirror_health (
$health_url = '',
$check_interval = 60,
) {
- package { 'python3-requests':
- ensure => installed,
- }
+ ensure_packages(['python3-requests'], { ensure => 'installed' })
# XXX: avoid duplicating this?
file { '/usr/local/sbin/mirror-health':