summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/master.pp
blob: c50ed364e393a3a7862b03a0e6a01a71055cd6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# this class sets up a single, plain couchdb node
class site_couchdb::master {
  class { 'couchdb':
    admin_pw            => $site_couchdb::couchdb_admin_pw,
    admin_salt          => $site_couchdb::couchdb_admin_salt,
    chttpd_bind_address => '127.0.0.1',
    pwhash_alg          => $site_couchdb::couchdb_pwhash_alg
  }

  # couchdb is not available in jessie, and the
  # leap deb repo only hosts a wheeyz version.
  # we install it therefore from unstable
  include site_apt::sid_repo

  include site_check_mk::agent::couchdb::master
}