From 91ed349dd079445aefe35052a43840b6df72e65e Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 4 Sep 2013 21:02:23 +0200 Subject: linted add_user.pp --- manifests/add_user.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests') 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}/" } } -- cgit v1.2.3