From 16a3583c359cd57ff52866a8dfd933726d120d30 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 15 Aug 2013 11:44:18 +0200 Subject: couch:document - ensure state of a couch document - (feature #3485) also made the use of host, hostname and port a bit more consistent. --- manifests/bigcouch/query.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/bigcouch/query.pp') diff --git a/manifests/bigcouch/query.pp b/manifests/bigcouch/query.pp index cecfe5a..8228e82 100644 --- a/manifests/bigcouch/query.pp +++ b/manifests/bigcouch/query.pp @@ -1,10 +1,10 @@ define couchdb::bigcouch::query ( - $cmd, $url, $host='127.0.0.1:5986', $data = '{}' ) { + $cmd, $path, $host='127.0.0.1:5986', $data = '{}' ) { couchdb::query { "${name}": cmd => $cmd, host => $host, - url => $url, + path => $path, data => $data } } -- cgit v1.2.3 From 8a0f585cbdb8f54d495f636e36b812a3d5b8b804 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 15 Aug 2013 12:52:45 +0200 Subject: use couchdb::document to create bigcouch node config (feature #3485) fixes the use of couch-doc-update with non standart hosts replaces couchdb::bigcouch::query with couchdb::bigcouch::document --- manifests/bigcouch/query.pp | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 manifests/bigcouch/query.pp (limited to 'manifests/bigcouch/query.pp') diff --git a/manifests/bigcouch/query.pp b/manifests/bigcouch/query.pp deleted file mode 100644 index 8228e82..0000000 --- a/manifests/bigcouch/query.pp +++ /dev/null @@ -1,10 +0,0 @@ -define couchdb::bigcouch::query ( - $cmd, $path, $host='127.0.0.1:5986', $data = '{}' ) { - - couchdb::query { "${name}": - cmd => $cmd, - host => $host, - path => $path, - data => $data - } -} -- cgit v1.2.3