Ensure mirror-health is restarted after the daemon-reload
authorTollef Fog Heen <tfheen@err.no>
Sun, 8 Oct 2017 05:34:43 +0000 (07:34 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 8 Oct 2017 05:34:43 +0000 (07:34 +0200)
modules/roles/manifests/mirror_health.pp

index 2a0413b..e390833 100644 (file)
@@ -32,6 +32,7 @@ define roles::mirror_health (
        }
 
        service { "mirror-health-${check_service}":
-               ensure => running,
+               require => Exec['systemctl daemon-reload'],
+               ensure  => running,
         }
 }