Puppet Class: matomo::mysql::db
- Defined in:
- manifests/mysql/db.pp
Summary
A short summary of the purpose of this classOverview
A description of what this class does
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'manifests/mysql/db.pp', line 7
class matomo::mysql::db (
$root_password = $matomo::params::root_password,
$remove_default_accounts = $matomo::params::remove_default_accounts,
$matomo_db_user = $matomo::params::matomo_db_user,
$matomo_db_password = $matomo::params::matomo_db_password,
$matomo_db_name = $matomo::params::matomo_db_name,
$host = $matomo::params::host,
$grant = $matomo::params::grant,
$sql_backup_file = $matomo::params::sql_backup_file,
$enforce_sql = $matomo::params::enforce_sql,
) {
class { '::mysql::server':
root_password => $root_password,
remove_default_accounts => $remove_default_accounts,
override_options => {
mysqld => {
max_allowed_packet => '64M',
},
}
}
mysql::db { $matomo_db_name:
user => $matomo_db_user,
password => $matomo_db_password,
host => $host,
grant => $grant,
sql => $sql_backup_file,
enforce_sql => $enforce_sql,
}
}
|