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