summaryrefslogtreecommitdiff
path: root/manifests/bigcouch/query.pp
blob: 8228e82746e2118ae9bb4ec13488fae5e3aba99d (plain)
1
2
3
4
5
6
7
8
9
10
define couchdb::bigcouch::query (
  $cmd, $path, $host='127.0.0.1:5986', $data = '{}' ) {

  couchdb::query { "${name}":
    cmd  => $cmd,
    host => $host,
    path  => $path,
    data => $data
  }
}