From 439c3332fbc082f1089afaf0eb1a127e23420181 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 8 Oct 2017 07:34:43 +0200 Subject: [PATCH] Ensure mirror-health is restarted after the daemon-reload --- modules/roles/manifests/mirror_health.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/roles/manifests/mirror_health.pp b/modules/roles/manifests/mirror_health.pp index 2a0413bb0..e390833fc 100644 --- a/modules/roles/manifests/mirror_health.pp +++ b/modules/roles/manifests/mirror_health.pp @@ -32,6 +32,7 @@ define roles::mirror_health ( } service { "mirror-health-${check_service}": - ensure => running, + require => Exec['systemctl daemon-reload'], + ensure => running, } } -- 2.20.1