Puppet Class: artifactory::mysql

Defined in:
manifests/mysql.pp

Overview

Manages mysql server if automated



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

class artifactory::mysql {
  class { '::mysql::server':
    package_name            => 'mariadb-server',
    package_ensure          => '5.5.60-1.el7_5',
    root_password           => $::artifactory::root_password,
    remove_default_accounts => true,
  }

  mysql::db { 'artdb':
    user     => $::artifactory::db_username,
    password => $::artifactory::db_password,
    dbname   => 'artdb',
    host     => 'localhost',
    grant    => 'ALL',
  }
}