Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/256696
Change subject: Specific size_limit specifically for repluser
......................................................................
Specific size_limit specifically for repluser
We 've increased size_limit for the purposes of working replication.
However that applies to all users not just the replication user would
get the new size_limit. Use the limits command to allow unlimited size
and time limits for the repluser and remove it from the global
configuration
Change-Id: If0c1e07c46658061a123cd621a69949fc59f2bb2
---
M modules/openldap/templates/slapd.erb
M modules/role/manifests/openldap/labs.pp
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/96/256696/1
diff --git a/modules/openldap/templates/slapd.erb
b/modules/openldap/templates/slapd.erb
index d81c746..0fe817b 100644
--- a/modules/openldap/templates/slapd.erb
+++ b/modules/openldap/templates/slapd.erb
@@ -107,6 +107,8 @@
by dn.base="cn=repluser,<%= @suffix %>" read
by * break
+limits dn.exact="cn=repluser,<%= @suffix %>" time=unlimited size=unlimited
+
<%- if @master -%>
# And at the same time a replica
syncrepl rid=1
diff --git a/modules/role/manifests/openldap/labs.pp
b/modules/role/manifests/openldap/labs.pp
index e8e31ed..eb9b46f 100644
--- a/modules/role/manifests/openldap/labs.pp
+++ b/modules/role/manifests/openldap/labs.pp
@@ -17,7 +17,6 @@
class { '::openldap':
sync_pass => $sync_pass,
mirrormode => true,
- size_limit => '32768',
suffix => 'dc=wikimedia,dc=org',
datadir => '/var/lib/ldap/labs',
ca => '/etc/ssl/certs/ca-certificates.crt',
--
To view, visit https://gerrit.wikimedia.org/r/256696
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If0c1e07c46658061a123cd621a69949fc59f2bb2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits