Puppet Class: xdmod::supremm::database

Defined in:
manifests/supremm/database.pp

Summary

Manage XDMoD SUPReMM databases

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/supremm/database.pp', line 3

class xdmod::supremm::database {
  include mongodb::server
  include mongodb::client

  if $xdmod::manage_epel {
    include epel
    Yumrepo['epel'] -> Package['mongodb_client']
    Yumrepo['epel'] -> Package['mongodb_server']
  }

  mongodb::db { 'supremm':
    user     => 'supremm',
    password => $xdmod::supremm_mongodb_password,
    roles    => ['dbAdmin', 'readWrite'],
  }
}