diff options
author | Azul <azul@riseup.net> | 2014-07-30 16:47:47 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2014-07-30 16:47:47 +0200 |
commit | 42327f4881022424bed354356756ab5815d5ba3f (patch) | |
tree | beae267aba6a3c58139abdfb4ee54c5e73484be3 /puppet/modules/tapicero/templates | |
parent | f7edf6d31a7ffbbc66ab778edec85f3cad4e6c82 (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.erb | 5 |
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 |