projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use ensure_packages to avoid problems with puppet redeclaring resources
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
mirror_health.pp
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':