Puppet Class: redmine::mysql
- Defined in:
- manifests/mysql.pp
Overview
Class: redmine::mysql
Configure MySQL.
Examples
include '::redmine::mysql'
Configuration is done using Hiera.
Authors
Baptiste Grenier <bgrenier@gnubila.fr>
Copyright
Copyright 2015 gnúbila
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/mysql.pp', line 19
class redmine::mysql {
if $::redmine::db_host == 'localhost' {
include ::mysql::server
mysql::db { $::redmine::db_name:
user => $::redmine::db_user,
password => $::redmine::db_password,
host => $::redmine::db_host,
charset => $::redmine::db_charset,
collate => $::redmine::db_collate,
}
} else {
include ::mysql::client
}
}
|