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

}