1 define roles::mirror_health (
7 package { 'python3-requests':
11 # XXX: avoid duplicating this?
12 file { '/usr/local/sbin/mirror-health':
13 source => 'puppet:///modules/roles/mirror_health/mirror-health',
19 file { "/etc/systemd/system/mirror-health-${check_service}.service":
23 content => template('roles/mirror-health.service.erb'),
24 notify => Exec['systemctl daemon-reload'],
27 file { "/etc/systemd/system/multi-user.target.wants/mirror-health-${check_service}.service":
29 target => "../mirror-health-${check_service}.service",
30 notify => Exec['systemctl daemon-reload'],