Puppet Class: keycloak::db::mysql

Defined in:
manifests/db/mysql.pp

Summary

Manage MySQL DB

Overview



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'manifests/db/mysql.pp', line 4

class keycloak::db::mysql {
  assert_private()

  if $keycloak::manage_db_server {
    contain mysql::server
  }

  if $keycloak::manage_db {
    mysql::db { $keycloak::db_url_database:
      user     => $keycloak::db_username,
      password => $keycloak::db_password,
      host     => $keycloak::db_url_host,
      grant    => 'ALL',
      charset  => $keycloak::db_charset,
      collate  => $keycloak::db_collate,
    }
  }
}