summaryrefslogtreecommitdiff
path: root/manifests/add_user.pp
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-06-25 18:03:06 -0700
committerelijah <elijah@riseup.net>2014-06-25 18:03:06 -0700
commit8bc5ed434c124457b7467140152602c67a9547c5 (patch)
treecb017e0fb762d27ab69a6f74c5d9c6a9aab85499 /manifests/add_user.pp
parentc8f5443e0998d3d3d43505ff5a6fdf8c438d6c24 (diff)
parent14f863f54c46bdf6f681c8a5ba660aba6a7419eb (diff)
Merge branch 'azul-feature/mirror_plain_couch'
Diffstat (limited to 'manifests/add_user.pp')
-rw-r--r--manifests/add_user.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/add_user.pp b/manifests/add_user.pp
index 1d25fd5..29c6a8c 100644
--- a/manifests/add_user.pp
+++ b/manifests/add_user.pp
@@ -30,4 +30,10 @@ define couchdb::add_user ( $roles, $pw, $salt = '' ) {
id => "org.couchdb.user:${name}",
data => $data
}
+
+ couchdb::query::setup { $name:
+ user => $name,
+ pw => $pw,
+ }
+
}