Version information
released Jun 23rd 2017
This version is compatible with:
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'aneesh-mysql', '3.0.0'
Learn more about managing modules with a PuppetfileDocumentation
aneesh/mysql — version 3.0.0 Jun 23rd 2017
MySQL Module
Overview
This module install and configure mysql database server.
Usage
Default configuration:
include mysql
Custom configuration:
class { 'mysql':
mysqld_datadir => '/var/lib/mysql',
mysqld_socket => '/var/run/mysqld/mysqld.sock',
mysqld_user => 'mysql',
mysqld_bind_address => '127.0.0.1',
mysqld_local_infile => '0',
mysqld_pid_file => '/var/run/mysqld/mysqld.pid',
mysqld_port => '3306',
mysqld_basedir => '/usr',
mysqld_tmpdir => '/tmp',
mysqld_lc_messages_dir => '/usr/share/mysql',
mysqld_skip_external_locking => true,
mysqld_key_buffer => '16M',
mysqld_max_allowed_packet => '16M',
mysqld_thread_stack => '192K',
mysqld_thread_cache_size => '8',
mysqld_myisam_recover => 'BACKUP',
mysqld_query_cache_limit => '1M',
mysqld_query_cache_size => '16M',
mysqld_log_error => '/var/log/mysql/error.log',
mysqld_expire_logs_days => '10',
mysqld_max_binlog_size => '100M',
mysqld_safe_log_error => '/var/log/mysql/mysql.log',
mysqld_safe_socket => '/var/run/mysqld/mysqld.sock',
mysqld_safe_nice => '0',
client_port => '3306',
client_socket => '/var/run/mysqld/mysqld.sock',
mysqldump_quick => true,
mysqldump_quote_names => true,
mysqldump_max_allowed_packet => '16M',
isamchk_key_buffer => '16M',
includedir => [ '/etc/mysql/conf.d/' ],
}
Copyright 2017 Aneesh C Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.