Skip to content

Commit

Permalink
change default versions: Codership, MariaDB, Percona
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Aug 6, 2024
1 parent 5f479a1 commit a412590
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
* Add support for new operating systems

### Changed
* Change default version of Codership/MySQL, MariaDB and Percona XtraDB
* Enable systemd-based status check on RHEL 9, Debian 12 and Ubuntu 24.04 ([#191])
* Add new dependency for systemd-based status check ([#191])
* Extend unit tests ([#191])
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ Below you will find an **incomplete** and possibly **outdated** list of known (i

| | RedHat | Debian | Ubuntu | FreeBSD |
| :--- | :---: | :---: | :---: | :---: |
| **Percona XtraDB Cluster** | 7 / 8 | 10 / 11 | 20.04 / 22.04 | 13.x |
| 5.7 / 8.0 | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :no_entry_sign: :no_entry_sign: | :no_entry_sign: :no_entry_sign: |
| **Percona XtraDB Cluster** | 8 / 9 | 11 / 12 | 22.04 / 24.04 | 14.x |
| 8.0 | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :no_entry_sign: :no_entry_sign: |
| **Codership Galera (MySQL)** | | | | |
| 5.7 / 8.0 | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :no_entry_sign: :no_entry_sign: **/** :green_circle: :green_circle: | :no_entry_sign: :green_circle: **/** :no_entry_sign: :no_entry_sign: | :green_circle: :no_entry_sign: |
| 8.0 / 8.4 | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :no_entry_sign: |
| **MariaDB Galera Cluster** | | | | |
| 10.5 / 10.6 | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: **/** :green_circle: :green_circle: | :green_circle: :green_circle: |
| 10.11 / 11.4 | :no_entry_sign: :no_entry_sign: **/** :green_circle: :green_circle: | :no_entry_sign: :no_entry_sign: **/** :green_circle: :green_circle: | :no_entry_sign: :no_entry_sign: **/** :green_circle: :green_circle: | :green_circle: :green_circle: |

The table only includes the **two most recent** versions.
Older and possibly outdated releases are not listed, although they may still be supported by their vendors.
Expand Down
7 changes: 7 additions & 0 deletions data/Debian-family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ galera::mariadb::1011::client_package_name: 'mariadb-client-10.11'
galera::mariadb::1011::galera_package_name: 'galera-4'
galera::mariadb::1011::mysql_package_name: 'mariadb-server-10.11'

galera::mariadb::114::arbitrator_config_file: '/etc/default/garb'
galera::mariadb::114::arbitrator_package_name: 'galera-arbitrator-4'
galera::mariadb::114::arbitrator_service_name: 'garb'
galera::mariadb::114::client_package_name: 'mariadb-client-11.4'
galera::mariadb::114::galera_package_name: 'galera-4'
galera::mariadb::114::mysql_package_name: 'mariadb-server-11.4'

#
# MariaDB - default settings
#
Expand Down
6 changes: 6 additions & 0 deletions data/RedHat-family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ galera::mariadb::1011::galera_package_name: 'galera-4'
galera::mariadb::1011::libgalera_location: '/usr/lib64/galera-4/libgalera_smm.so'
galera::mariadb::1011::mysql_package_name: 'MariaDB-server'

galera::mariadb::114::arbitrator_package_name: 'galera-4'
galera::mariadb::114::client_package_name: 'MariaDB-client'
galera::mariadb::114::galera_package_name: 'galera-4'
galera::mariadb::114::libgalera_location: '/usr/lib64/galera-4/libgalera_smm.so'
galera::mariadb::114::mysql_package_name: 'MariaDB-server'

#
# MariaDB - default settings
#
Expand Down
6 changes: 3 additions & 3 deletions data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ galera::percona::additional_packages:
galera::mariadb::additional_packages:
- 'nmap'

galera::codership::default_version: '5.7'
galera::codership::default_version: '8.0'
galera::codership::galera_package_ensure: 'present'
galera::percona::default_version: '5.7'
galera::percona::default_version: '8.0'
# Percona does not allow installation of wsrep-enabled server and wsrep provider.
galera::percona::galera_package_ensure: 'absent'
galera::mariadb::default_version: '10.3'
galera::mariadb::default_version: '11.4'
galera::mariadb::galera_package_ensure: 'present'

# binlog_format is deprecated in MySQL, but still required for MariaDB
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/galera_mariadb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class { 'galera':
}
},
vendor_type => 'mariadb',
vendor_version => '10.6'
vendor_version => '11.4'
}
MANIFEST
end
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/galera_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class { 'galera':
}
},
vendor_type => 'percona',
vendor_version => '5.7'
vendor_version => '8.0'
}
MANIFEST
end
Expand Down

0 comments on commit a412590

Please sign in to comment.