summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/query.pp2
-rw-r--r--manifests/update.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/query.pp b/manifests/query.pp
index 1966839..6d13c2b 100644
--- a/manifests/query.pp
+++ b/manifests/query.pp
@@ -1,5 +1,5 @@
define couchdb::query (
- $cmd, $url, $host='127.0.0.1:5984', $data = '{}', $unless = '/bin/false' ) {
+ $cmd, $url, $host='127.0.0.1:5984', $data = '{}', $unless = undef) {
exec { "/usr/bin/curl --netrc-file /etc/couchdb/couchdb.netrc -X ${cmd} ${host}/${url} --data \'${data}\'":
require => [ Package['curl'], Exec['wait_for_couchdb'] ],
diff --git a/manifests/update.pp b/manifests/update.pp
index bbd2591..579659b 100644
--- a/manifests/update.pp
+++ b/manifests/update.pp
@@ -1,4 +1,4 @@
-define couchdb::update ($db, $id, $data, $port='5984', $unless='/bin/false') {
+define couchdb::update ($db, $id, $data, $port='5984', $unless=undef) {
exec { "couch-doc-update --port ${port} --db ${db} --id ${id} --data \'${data}\'":
require => Exec['wait_for_couchdb'],