summaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 4f4487f2401e2647b341e21184ed3abf11718cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class couchdb::params {

  $bind_address = $couchdb_bind_address ? {
    ""      => "127.0.0.1",
    default => $couchdb_bind_address,
  }

  $port = $couchdb_port ? {
    ""      => "5984",
    default => $couchdb_port,
  }

  $backupdir = $couchdb_backupdir ? {
    ""      => "/var/backups/couchdb",
    default => $couchdb_backupdir,
  }

  $cert_path = $couchdb_cert_path ? {
    ""      => "etc/certs/",
    default => $couchdb_cert_path,
  }

}