diff options
author | varac <varacanero@zeromail.org> | 2013-09-04 21:02:23 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-09-04 21:02:23 +0200 |
commit | 91ed349dd079445aefe35052a43840b6df72e65e (patch) | |
tree | 8e702467986e31ef585941789cb522e042247f9c /manifests | |
parent | 9250ca56e0235e4b213af932c8952b97630cc076 (diff) |
linted add_user.pp
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/add_user.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/add_user.pp b/manifests/add_user.pp index 659aea8..7c80220 100644 --- a/manifests/add_user.pp +++ b/manifests/add_user.pp @@ -25,10 +25,10 @@ define couchdb::add_user ( $roles, $pw, $salt = '' ) { # update the user with the given password unless they already work couchdb::update { "update_user_${name}": - host => "127.0.0.1:${port}", - db => '_users', - id => "org.couchdb.user:${name}", - data => $data, + host => "127.0.0.1:${port}", + db => '_users', + id => "org.couchdb.user:${name}", + data => $data, unless => "/usr/bin/curl -s -f ${name}:${pw}@127.0.0.1:${port}/" } } |