summaryrefslogtreecommitdiff
path: root/manifests/bigcouch/document.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/bigcouch/document.pp')
-rw-r--r--manifests/bigcouch/document.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/bigcouch/document.pp b/manifests/bigcouch/document.pp
new file mode 100644
index 0000000..f72f205
--- /dev/null
+++ b/manifests/bigcouch/document.pp
@@ -0,0 +1,9 @@
+define couchdb::bigcouch::document ( $host='127.0.0.1:5986', $db, $id, $data='{}', $ensure='content') {
+ couchdb::document { "${name}":
+ host => $host,
+ db => $db,
+ id => $id,
+ data => $data,
+ ensure => $ensure
+ }
+}