Puppet Class: couchdb::params

Defined in:
manifests/params.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/params.pp', line 1

class couchdb::params {

  if defined('$couchdb_bind_address') {
    $bind_address = $::couchdb_bind_address ? {
      ''      => '127.0.0.1',
      default => $::couchdb_bind_address,
    }
  } else {
    $bind_address = '127.0.0.1'
  }

  if defined('$couchdb_port') {
    $port = $::couchdb_port ? {
      ''      => '5984',
      default => $::couchdb_port,
    }
  } else {
    $port = '5984'
  }

  $backupdir = '/var/backups/couchdb'

}