From 42327f4881022424bed354356756ab5815d5ba3f Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 30 Jul 2014 16:47:47 +0200 Subject: add replication role to user databases with tapicero This way the replication has read access on the source and write access on the target. --- puppet/modules/tapicero/templates/tapicero.yaml.erb | 5 +++-- 1 file 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 -- cgit v1.2.3