https://github.com/lefred/puppet-lefred-innodbcluster
Puppet module for MySQL InnoDB Cluster
https://github.com/lefred/puppet-lefred-innodbcluster
Last synced: 4 months ago
JSON representation
Puppet module for MySQL InnoDB Cluster
- Host: GitHub
- URL: https://github.com/lefred/puppet-lefred-innodbcluster
- Owner: lefred
- Created: 2016-10-25T11:55:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-05T05:58:03.000Z (over 9 years ago)
- Last Synced: 2025-09-12T03:20:05.487Z (10 months ago)
- Language: Puppet
- Size: 8.79 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Puppet - MySQL InnoDB Cluster Module
====================================
This module is made for CentOS/RHEL and allows to install and bootstrap a
MySQL InnoDB Cluster group using MySQL Shell's AdminAPI.
Example
-------
Hiera example with 3 nodes:
hieradata/common.yaml
*********************
```
---
innodbcluster::mysql_root_password: fred
innodbcluster::mysql_bind_interface: eth1
innodbcluster::cluster_name: mycluster
innodbcluster::grant::user: root
innodbcluster::grant::password: fred
innodbcluster::seed: mysql1
```
hieradata/mysql1.yaml
*********************
```
---
classes:
- innodbcluster
innodbcluster::mysql_serverid: 1
```
hieradata/mysql2.yaml
*********************
```
---
classes:
- innodbcluster
innodbcluster::mysql_serverid: 2
```
hieradata/mysql3.yaml
*********************
```
---
classes:
- innodbcluster
innodbcluster::mysql_serverid: 3
```
I really encourage you to encrypt the passwords using hiera-eyaml in the hiera files
Todo
----
add router