Alexandros Kosiaris has submitted this change and it was merged.

Change subject: openldap: Notify slapd on acls.conf and indices.conf changes
......................................................................


openldap: Notify slapd on acls.conf and indices.conf changes

Have slapd restart on indices.conf and acls.conf changes

Change-Id: If842435bb8cc1b22a4df74cce338ae7597e4b3f5
---
M modules/openldap/manifests/init.pp
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/modules/openldap/manifests/init.pp 
b/modules/openldap/manifests/init.pp
index 62391dc..32255d5 100644
--- a/modules/openldap/manifests/init.pp
+++ b/modules/openldap/manifests/init.pp
@@ -177,6 +177,8 @@
     Package['slapd'] -> Exec['rm_slapd.d']
     Exec['rm_slapd.d'] -> Service['slapd']
     File['/etc/ldap/slapd.conf'] ~> Service['slapd'] # We also notify
+    File['/etc/ldap/acls.conf'] ~> Service['slapd'] # We also notify
+    File['/etc/ldap/indices.conf'] ~> Service['slapd'] # We also notify
     File['/etc/default/slapd'] ~> Service['slapd'] # We also notify
     File[$datadir] -> Service['slapd']
     File['/etc/ldap/ldap.conf'] -> Service['slapd']

-- 
To view, visit https://gerrit.wikimedia.org/r/257741
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If842435bb8cc1b22a4df74cce338ae7597e4b3f5
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to