Skip to content

Commit

Permalink
allow Puppet 8, update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Aug 9, 2024
1 parent c30456b commit c716474
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
This is a new major release with breaking changes. MariaDB 11.x is not yet
supported because puppetlabs/mysql lacks support for it.

### Added
* Add new parameter `$status_check_type`
* Add new parameter `$status_systemd_service_name`
* Add customization options for the xinetd service ([#177])
* Add systemd-based status check ([#191])
* Add support for new operating systems
* Add support for Percona XtraDB 8.0 and MariaDB 10.11
* Add support for Percona XtraDB 8.0 and MariaDB 10.11 ([#192])

### Changed
* Remove default values: `$vendor_type`, `$vendor_version`
* Disable option `pxc-encrypt-cluster-traffic` on Percona XtraDB 8.0
* Enable systemd-based status check on RHEL 9, Debian 12 and Ubuntu 24.04 ([#191])
* Add new dependency for systemd-based status check ([#191])
* Merge internal $default_options from multiple hierarchy levels
* Update Codership APT key
* Switch unit tests to Codership/MySQL 8.0, MariaDB 10.11 and XtraDB 8.0
* Extend unit tests ([#191])

### Fixed
* Revive `binlog_format` for MariaDB ([#190])
* SST package install fails because repo is not yet configured
* Remove incompatible options from bootstrap workaround on Debian/Ubuntu
* Fix Percona XtraDB 8.0 package name on Debian/Ubuntu
Expand Down Expand Up @@ -339,10 +344,13 @@ This is the first release after extensive code refactoring and introduces multip
[0.7.2]: https://github.com/markt-de/puppet-galera/compare/0.7.1...0.7.2
[0.7.1]: https://github.com/markt-de/puppet-galera/compare/0.7.0...0.7.1
[0.7.0]: https://github.com/markt-de/puppet-galera/compare/0.0.6...0.7.0
[#192]: https://github.com/markt-de/puppet-galera/pull/192
[#191]: https://github.com/markt-de/puppet-galera/pull/191
[#190]: https://github.com/markt-de/puppet-galera/pull/190
[#186]: https://github.com/markt-de/puppet-galera/pull/186
[#185]: https://github.com/markt-de/puppet-galera/pull/185
[#179]: https://github.com/markt-de/puppet-galera/pull/179
[#177]: https://github.com/markt-de/puppet-galera/pull/177
[#173]: https://github.com/markt-de/puppet-galera/pull/173
[#171]: https://github.com/markt-de/puppet-galera/pull/171
[#170]: https://github.com/markt-de/puppet-galera/pull/170
Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,36 +91,37 @@ Furthermore, a number of simple options are available to customize the cluster c

```puppet
class { 'galera':
# Galera vendor and version
vendor_type => 'codership',
vendor_version => '8.0',
#
# Galera cluster config
cluster_name => 'mycluster',
galera_servers => ['10.0.99.101', '10.0.99.102', '10.0.99.103'],
galera_master => 'node1.example.com',
root_password => 'pa$$w0rd',
status_password => 'pa$$w0rd',
# Default is 'percona'
vendor_type => 'codership',
vendor_version => '8.0',
#
# This will be used to populate my.cnf values that
# control where wsrep binds, advertises, and listens
local_ip => $facts['networking']['ip'],
#
# This will be set when the cluster is bootstrapped
root_password => 'myrootpassword',
#
# Disable this if you don't want firewall rules to be set
configure_firewall => true,
#
# Configure the SST method
wsrep_sst_method => 'xtrabackup-v2',
#
# These options are only used for the firewall -
# to change the my.cnf settings, use the override options
# described below
mysql_port => 3306,
wsrep_state_transfer_port => 4444,
wsrep_inc_state_transfer_port => 4568,
#
# This is used for the firewall + for status checks
# when deciding whether to bootstrap
wsrep_group_comm_port => 4567,
Expand Down Expand Up @@ -199,7 +200,7 @@ class { 'galera':
root_password => 'pa$$w0rd',
status_password => 'pa$$w0rd',
vendor_type => 'mariadb',
vendor_version => '8.0',
vendor_version => '10.11',
}
```

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 7.0.0 < 8.0.0"
"version_requirement": ">= 7.0.0 < 9.0.0"
}
],
"description": "Setup a Galera cluster on MySQL/MariaDB/XtraDB with Arbitrator support",
Expand Down

0 comments on commit c716474

Please sign in to comment.