Make sure to start the mirror-health service
authorTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 20:16:07 +0000 (22:16 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 30 Sep 2017 20:16:07 +0000 (22:16 +0200)
modules/roles/manifests/mirror_health.pp

index 1290967..a00f0a4 100644 (file)
@@ -29,4 +29,8 @@ define roles::mirror_health (
                target => "../mirror-health-${check_service}.service",
                notify => Exec['systemctl daemon-reload'],
        }
+
+       service { "mirror-health-${check_service}":
+               ensure => running,
+        }
 }