summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/init.pp
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2013-10-25 12:50:00 +0200
committerAzul <azul@riseup.net>2013-10-30 20:24:57 +0100
commitbefa14796567d950f7afa066381070ca7246b1d4 (patch)
treeebc203390d08a6a2957e1deda0d9368511277c19 /puppet/modules/site_couchdb/manifests/init.pp
parentce086618f0da8eab312c44c71117f3f95bf2a39a (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/modules/site_couchdb/manifests/init.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
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']
}