diff options
author | elijah <elijah@riseup.net> | 2012-12-11 02:28:16 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-12-11 02:28:16 -0800 |
commit | 158a89ed0172cc7f96d1a6922f776fcd3c39b877 (patch) | |
tree | 7cc21f4635d0087952ad8a6da1cf99f305b0e478 /manifests/add_user.pp | |
parent | b598e7d2a4be7ee863ae70450a73bfcda381634e (diff) |
added couchdb::update (commented out)
Diffstat (limited to 'manifests/add_user.pp')
-rw-r--r-- | manifests/add_user.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/add_user.pp b/manifests/add_user.pp index acadcd0..560a6a8 100644 --- a/manifests/add_user.pp +++ b/manifests/add_user.pp @@ -5,5 +5,12 @@ define couchdb::add_user ($host='127.0.0.1:5984', $roles, $pw ) { url => "_users/org.couchdb.user:$name", data => "{ \"_id\": \"org.couchdb.user:$name\", \"type\": \"user\", \"name\": \"$name\", \"roles\": $roles, \"password\": \"$pw\"}", } + # + # couchdb::update { "update_user_$name": + # db => "_users", + # id => "org.couchdb.user:$name", + # data => "{\"type\": \"user\", \"name\": \"$name\", \"roles\": $roles, \"password\": \"$pw\"}", + # } + # } |