c2b0b4cb2c
The current install pattern used by this module is the following: 1. Install package 2. Install the DB 3. Make the config files In some cases this prevents MySQL to start, because some variables in the config file have an impact on the DB installation. Example with a custom innodb_data_file_path: [ERROR] InnoDB: space header page consists of zero bytes in data file /var/lib/mysql/ibdata This commit changes the order to do: 1. Install package 2. Make the config files 3. Install the DB
13 lines
286 B
Puppet
13 lines
286 B
Puppet
#
|
|
class mysql::server::install {
|
|
|
|
if $mysql::server::package_manage {
|
|
|
|
package { 'mysql-server':
|
|
ensure => $mysql::server::package_ensure,
|
|
install_options => $mysql::server::install_options,
|
|
name => $mysql::server::package_name,
|
|
}
|
|
}
|
|
|
|
}
|