summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/query.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/query.pp b/manifests/query.pp
index 20e331d..76ef648 100644
--- a/manifests/query.pp
+++ b/manifests/query.pp
@@ -1,4 +1,4 @@
-define couchdb::query ( $cmd, $url, $host='127.0.0.1:5984', $data = '' ) {
+define couchdb::query ( $cmd, $url, $host='127.0.0.1:5984', $data = '{}' ) {
exec { "/usr/bin/curl --netrc-file /etc/couchdb/couchdb.netrc -X ${cmd} ${host}/${url} --data \'${data}\'":
require => [ Package['curl'], Exec['wait_for_couchdb'] ]