diff options
author | Azul <azul@riseup.net> | 2013-10-25 12:50:00 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-10-30 20:24:57 +0100 |
commit | befa14796567d950f7afa066381070ca7246b1d4 (patch) | |
tree | ebc203390d08a6a2957e1deda0d9368511277c19 /puppet | |
parent | ce086618f0da8eab312c44c71117f3f95bf2a39a (diff) |
Users with access to a db are called members - not readers (#4219)
( they can read and write ). I think couch themselves changed the termology at some point but i might just have used the wrong term from the beginning on.
Let's call them members either way because it's more clear that read only members require aditional design docs.
Diffstat (limited to 'puppet')
m--------- | puppet/modules/couchdb | 0 | ||||
-rw-r--r-- | puppet/modules/site_couchdb/manifests/init.pp | 10 |
2 files changed, 5 insertions, 5 deletions
diff --git a/puppet/modules/couchdb b/puppet/modules/couchdb -Subproject d84dfddb0dfc2e5207c90380fb1f7fcf7bc7a72 +Subproject 4597cf55613aa25e77ef9943c32918fd59ff65c diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp index f4f93828..5d77c994 100644 --- a/puppet/modules/site_couchdb/manifests/init.pp +++ b/puppet/modules/site_couchdb/manifests/init.pp @@ -65,22 +65,22 @@ class site_couchdb { } couchdb::create_db { 'users': - readers => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", + members => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", require => Couchdb::Query::Setup['localhost'] } couchdb::create_db { 'tokens': - readers => "{ \"names\": [], \"roles\": [\"auth\"] }", + members => "{ \"names\": [], \"roles\": [\"auth\"] }", require => Couchdb::Query::Setup['localhost'] } couchdb::create_db { 'sessions': - readers => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", + members => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", require => Couchdb::Query::Setup['localhost'] } couchdb::create_db { 'tickets': - readers => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", + members => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }", require => Couchdb::Query::Setup['localhost'] } @@ -88,7 +88,7 @@ class site_couchdb { # via the auth group for now. # leap_mx could use that for a start. couchdb::create_db { 'identities': - readers => "{ \"names\": [], \"roles\": [\"auth\"] }", + members => "{ \"names\": [], \"roles\": [\"auth\"] }", require => Couchdb::Query::Setup['localhost'] } |