diff options
-rw-r--r-- | manifests/create_db.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/create_db.pp b/manifests/create_db.pp index afab7b5..690892c 100644 --- a/manifests/create_db.pp +++ b/manifests/create_db.pp @@ -9,7 +9,7 @@ define couchdb::create_db ( couchdb::query { "create_db_${name}": cmd => 'PUT', host => $host, - url => $name, + path => $name, unless => "/usr/bin/curl -s --netrc-file /etc/couchdb/couchdb.netrc ${host}/${name} | grep -q -v '{\"error\":\"not_found\"'" } |