summaryrefslogtreecommitdiff
path: root/manifests/update.pp
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-12-11 02:28:16 -0800
committerelijah <elijah@riseup.net>2012-12-11 02:28:16 -0800
commit158a89ed0172cc7f96d1a6922f776fcd3c39b877 (patch)
tree7cc21f4635d0087952ad8a6da1cf99f305b0e478 /manifests/update.pp
parentb598e7d2a4be7ee863ae70450a73bfcda381634e (diff)
added couchdb::update (commented out)
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\'": }
+}