Restart slapd on TLS cert renew
authorJulien Cristau <jcristau@debian.org>
Thu, 21 Sep 2017 06:52:43 +0000 (08:52 +0200)
committerJulien Cristau <jcristau@debian.org>
Thu, 21 Sep 2017 06:52:43 +0000 (08:52 +0200)
modules/roles/manifests/dbmaster.pp

index 334857f..5b83b66 100644 (file)
@@ -13,7 +13,8 @@ class roles::dbmaster {
        $rabbit_password = $roles::pubsub::parameters::rabbit_password
 
        ssl::service { 'db.debian.org':
-               notify  => Exec['service apache2 reload'],
+               notify  => [ Exec['service apache2 reload'],
+                            Service['slapd'] ],
                key => true,
                tlsaport => [443, 389, 636],
        }