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, 3 insertions, 1 deletions
diff --git a/manifests/update.pp b/manifests/update.pp
index 3cb6ece..7e7be66 100644
--- a/manifests/update.pp
+++ b/manifests/update.pp
@@ -1,3 +1,5 @@
define couchdb::update ($db, $id, $data, $port='5984') {
- exec { "couch-doc-update --port $port --db $db --id $id --data \'$data\'": }
+ exec { "couch-doc-update --port $port --db $db --id $id --data \'$data\'":
+ require => Exec['wait_for_couchdb']
+ }
}