diff options
author | varac <varacanero@zeromail.org> | 2013-05-23 21:20:48 +0200 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-05-23 17:58:02 -0400 |
commit | 20deb0652ccfe105eddec6ba2ad32b8d633705f6 (patch) | |
tree | 4340211dc0fc0a823a28566f6c3a53ba31ee4dae /manifests/query.pp | |
parent | 0c34d9bd1c51d4e633f92e459b7973008350aefb (diff) |
add couchdb::bigcouch::add_node and couchdb::bigcouch::query
Diffstat (limited to 'manifests/query.pp')
-rw-r--r-- | manifests/query.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/query.pp b/manifests/query.pp index 76ef648..a02d068 100644 --- a/manifests/query.pp +++ b/manifests/query.pp @@ -1,4 +1,5 @@ -define couchdb::query ( $cmd, $url, $host='127.0.0.1:5984', $data = '{}' ) { +define couchdb::query ( + $cmd, $url, $host='127.0.0.1:5984', $data = '{}' ) { exec { "/usr/bin/curl --netrc-file /etc/couchdb/couchdb.netrc -X ${cmd} ${host}/${url} --data \'${data}\'": require => [ Package['curl'], Exec['wait_for_couchdb'] ] |