summaryrefslogtreecommitdiff
path: root/manifests/update.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/update.pp')
-rw-r--r--manifests/update.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/update.pp b/manifests/update.pp
index 129d875..3cb6ece 100644
--- a/manifests/update.pp
+++ b/manifests/update.pp
@@ -1,3 +1,3 @@
-define couchdb::update ($db, $id, $data) {
- exec { "couch-doc-update --db $db --id $id --data \'$data\'": }
+define couchdb::update ($db, $id, $data, $port='5984') {
+ exec { "couch-doc-update --port $port --db $db --id $id --data \'$data\'": }
}