blob: b1dba84c50023b280c0c0aedcdbdc908d0a6dbdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
define couchdb::update (
$db,
$id,
$data,
$host='127.0.0.1:5984',
$unless=undef) {
exec { "couch-doc-update --host ${host} --db ${db} --id ${id} --data \'${data}\'":
require => Exec['wait_for_couchdb'],
unless => $unless
}
}
|