diff options
Diffstat (limited to 'manifests/query.pp')
-rw-r--r-- | manifests/query.pp | 2 |
1 files changed, 1 insertions, 1 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'] ], |