summaryrefslogtreecommitdiff
path: root/puppet/modules/couchdb/manifests/params.pp
blob: 02d5f02eb7007cb175da7f7abf718fe5fc70e46c (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/couchdb',
    default => $::couchdb_cert_path,
  }

}