Open
Description
Describe the Bug
This module defaults to ssl = false
in the server, but "Starting from 11.4 MariaDB encrypts the transmitted data between the server and clients by default (they also say "unless the server and client run on the same host" but that's not what I experience in Debian Trixie).
Deploying MariaDB with this module in a fresh Debian Trixie install leads to:
# mysql
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it
Expected Behavior
Connecting to the server should succeed.
Steps to Reproduce
Steps to reproduce the behavior:
- Start from a fresh Debian Trixie installation.
- Install Puppet and Git
- Download latest versions of
puppetlabs-stdlib
andpuppetlabs-mysql
- Puppet-apply
include mysql::server
This should be enough to reproduce the issue:
apt-get update && apt-get -y install git puppet
mkdir -p /root/modules
git clone --depth 1 --branch v9.7.0 https://github.com/puppetlabs/puppetlabs-stdlib.git /root/modules/stdlib
git clone --depth 1 --branch v16.2.0 https://github.com/puppetlabs/puppetlabs-mysql.git /root/modules/mysql
puppet apply --modulepath /root/modules -e 'include mysql::server'
Then:
# mysql
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it
Environment
- Version 16.2.0
- Platform Debian Trixie (MariaDB 11.8.1)
Metadata
Metadata
Assignees
Labels
No labels