summaryrefslogtreecommitdiff
path: root/puppet/modules/soledad/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-26 16:18:17 +0100
committervarac <varacanero@zeromail.org>2015-10-27 15:34:27 +0100
commit171a5a9a3794224a92244078574aac4b22845266 (patch)
tree938fb9cb560e0e099337583e89e8c28a9ce17e95 /puppet/modules/soledad/templates
parent4449f09cc362ec0cf64881f547cb41e73cbd67f5 (diff)
[bug] Add leap_mx username to soledad.conf
- Tested: [unstable.pixelated-project.org] - Related: https://github.com/pixelated/pixelated-platform/issues/127
Diffstat (limited to 'puppet/modules/soledad/templates')
-rw-r--r--puppet/modules/soledad/templates/soledad-server.conf.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/soledad/templates/soledad-server.conf.erb b/puppet/modules/soledad/templates/soledad-server.conf.erb
index 42cf44d8..1c6a0d19 100644
--- a/puppet/modules/soledad/templates/soledad-server.conf.erb
+++ b/puppet/modules/soledad/templates/soledad-server.conf.erb
@@ -2,3 +2,11 @@
couch_url = http://<%= @couchdb_user %>:<%= @couchdb_password %>@<%= @couchdb_host %>:<%= @couchdb_port %>
create_cmd = sudo -u soledad-admin /usr/bin/create-user-db
admin_netrc = /etc/couchdb/couchdb-soledad-admin.netrc
+
+[database-security]
+members = <%= @couchdb_user %>, <%= @couchdb_leap_mx_user %>
+# not needed, but for documentation:
+# members_roles = replication
+# admins = admin
+# admins_roles = replication
+