summaryrefslogtreecommitdiff
path: root/manifests/document.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/document.pp')
-rw-r--r--manifests/document.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/document.pp b/manifests/document.pp
index 3ecc05d..6180474 100644
--- a/manifests/document.pp
+++ b/manifests/document.pp
@@ -29,6 +29,7 @@ define couchdb::document(
cmd => 'PUT',
host => $host,
path => "${db}/${id}",
+ require => Exec['wait_for_couchdb'],
unless => "/usr/bin/curl -s -f --netrc-file ${netrc} ${url}"
}
}
@@ -38,6 +39,7 @@ define couchdb::document(
cmd => 'DELETE',
host => $host,
path => "${db}/${id}",
+ require => Exec['wait_for_couchdb'],
unless => "/usr/bin/curl -s -f --netrc-file ${netrc} ${url}"
}
}