https://github.com/lefred/puppet-lefred-mysql
MySQL puppet module that handles all MySQL distributions (Community, Percona, MariaDB) for CentOS/RHEL
https://github.com/lefred/puppet-lefred-mysql
Last synced: 6 months ago
JSON representation
MySQL puppet module that handles all MySQL distributions (Community, Percona, MariaDB) for CentOS/RHEL
- Host: GitHub
- URL: https://github.com/lefred/puppet-lefred-mysql
- Owner: lefred
- Created: 2014-06-23T05:49:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-12-17T08:58:10.000Z (over 11 years ago)
- Last Synced: 2024-12-29T21:26:57.480Z (over 1 year ago)
- Language: Ruby
- Size: 441 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Puppet MySQL Module
============
This module is made for CentOS/RHEL (Yum based system) and allows to install different MySQL as a server
or as part of a Galera Cluster.
These are the supported distributions:
- Oracle MySQL Community (5.5, 5.6 and 5.7)
- MariaDB (5.5 and 10.0)
- Percona Server (5.5 and 5.6)
- MariaDB Galera Cluster (5.5 and 10.0 both with Galera 3)
- Percona XtraDB Cluster (5.5 and 5.6 with Galera 2 or 3)
MySQL-Utilities, Percona-Toolkit and Percona XtraBackup are also part of this module.
This is how to use it in the puppet manifest::
node node1 {
class {
'mysql':
mysql_distro => "percona",
mysql_version => "5.6",
mysql_serverid => "1",
galera_version => "3",
bootstrap => True,
ensure => "running";
}
include mysql::cluster
include mysql::utilities
include mysql::percona_toolkit
include mysql::percona_xtrabackup
}
List of supported parameters
-----------------------------
| Parameter | Value |
| ---------------|-----------------------------|
| mysql_distro | community, mariadb, percona |
| mysql_version | 5.5, 5.6, 5.7, 10.0 |
| galera_version | 2, 3 |
| bootstrap | To bootstrap the cluster |
Server vs Cluster
-----------------
To install the server version, you need to add this line in the manifest::
include mysql::server
And to install a cluster node::
include mysql::cluster
Cluster can be used with percona and mariadb mysql_distro.