summaryrefslogtreecommitdiff
path: root/manifests/document.pp
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2013-08-15 12:52:45 +0200
committerAzul <azul@riseup.net>2013-08-28 12:52:35 +0200
commit8a0f585cbdb8f54d495f636e36b812a3d5b8b804 (patch)
tree6892cea9b2064ae3ee0c829417e07e1984959376 /manifests/document.pp
parent16a3583c359cd57ff52866a8dfd933726d120d30 (diff)
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
Diffstat (limited to 'manifests/document.pp')
-rw-r--r--manifests/document.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/document.pp b/manifests/document.pp
index 1b27d44..afbd37a 100644
--- a/manifests/document.pp
+++ b/manifests/document.pp
@@ -5,7 +5,7 @@
# ensure => {absent,present,*content*}
# }
#
-define couchdb::document ( $host='127.0.0.1:5984', $db, $id, $data, $ensure='content') {
+define couchdb::document ( $host='127.0.0.1:5984', $db, $id, $data='{}', $ensure='content') {
$url = "${host}/${db}/${id}"