From c716474f957381420333463840b7f55cf3c9182e Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Fri, 9 Aug 2024 23:20:06 +0200 Subject: [PATCH] allow Puppet 8, update documentation --- CHANGELOG.md | 10 +++++++++- README.md | 23 ++++++++++++----------- metadata.json | 2 +- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e771233..05024e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,16 @@ 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` @@ -19,10 +22,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.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 @@ -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 diff --git a/README.md b/README.md index 39489e1..ae52f9a 100644 --- a/README.md +++ b/README.md @@ -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, @@ -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', } ``` diff --git a/metadata.json b/metadata.json index fe5cf9f..e55c1e6 100644 --- a/metadata.json +++ b/metadata.json @@ -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",