summaryrefslogtreecommitdiff
path: root/puppet/modules/tapicero/templates
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-07-30 16:47:47 +0200
committerAzul <azul@riseup.net>2014-07-30 16:47:47 +0200
commit42327f4881022424bed354356756ab5815d5ba3f (patch)
treebeae267aba6a3c58139abdfb4ee54c5e73484be3 /puppet/modules/tapicero/templates
parentf7edf6d31a7ffbbc66ab778edec85f3cad4e6c82 (diff)
add replication role to user databases with tapicero
This way the replication has read access on the source and write access on the target.
Diffstat (limited to 'puppet/modules/tapicero/templates')
-rw-r--r--puppet/modules/tapicero/templates/tapicero.yaml.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/puppet/modules/tapicero/templates/tapicero.yaml.erb b/puppet/modules/tapicero/templates/tapicero.yaml.erb
index d6ea56fa..510450ad 100644
--- a/puppet/modules/tapicero/templates/tapicero.yaml.erb
+++ b/puppet/modules/tapicero/templates/tapicero.yaml.erb
@@ -40,10 +40,11 @@ options:
# explicit about this
- <%= @couchdb_admin_user %>
roles: []
- readers:
+ members:
names:
- <%= @couchdb_soledad_user %>
- <%= @couchdb_leap_mx_user %>
- roles: []
+ roles:
+ - replication