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/document.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/bigcouch/document.pp (limited to 'manifests/bigcouch/document.pp') diff --git a/manifests/bigcouch/document.pp b/manifests/bigcouch/document.pp new file mode 100644 index 0000000..f72f205 --- /dev/null +++ b/manifests/bigcouch/document.pp @@ -0,0 +1,9 @@ +define couchdb::bigcouch::document ( $host='127.0.0.1:5986', $db, $id, $data='{}', $ensure='content') { + couchdb::document { "${name}": + host => $host, + db => $db, + id => $id, + data => $data, + ensure => $ensure + } +} -- cgit v1.2.3