summaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 67efcd4833604fa6ddae6dc08ad53f93ae5ca5aa (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,
  }

}