• Bug#1109753: unblock: puppet-module-puppetlabs-mysql/15.0.0-2

    From Thomas Goirand@21:1/5 to All on Wed Jul 23 11:00:01 2025
    XPost: linux.debian.devel.release

    Package: release.debian.org
    Severity: normal
    X-Debbugs-Cc: [email protected]
    Control: affects -1 + src:puppet-module-puppetlabs-mysql
    User: [email protected]
    Usertags: unblock

    Please unblock package puppet-module-puppetlabs-mysql

    [ Reason ]
    This Debian package release fixes the autopkgtest
    "mariadb is responsive".

    The reason why it was failing, is because puppet-module-puppetlabs-mysql
    setups "ssl = false" by default in /etc/mysql/my.cnf unless one specifies "ssl-disable" when calling its init.pp. Unfortunately, with recent MariaDB server, this forces the client to specify --ssl=off in the command line,
    which is what this patch is doing in the autopkgtest.

    [ Impact ]
    Failing autopkgtest.

    [ Tests ]
    Ran autopkgtest manually.

    [ Risks ]
    This only touches debian/tests/spec/puppetlabs-mysql_spec.rb, so no risk
    for our users.

    [ Checklist ]
    [x] all changes are documented in the d/changelog
    [x] I reviewed all changes and I approve them
    [x] attach debdiff against the package in testing

    Here's the diff (inline since it's so small...):

    diff --git a/debian/changelog b/debian/changelog
    index 1987a20..492466b 100644
    --- a/debian/changelog
    +++ b/debian/changelog
    @@ -1,3 +1,9 @@
    +puppet-module-puppetlabs-mysql (15.0.0-3) unstable; urgency=medium
    +
    + * Fix autopkgtest "mariadb is responsive" (Closes: #1108800).
    +
    + -- Thomas Goirand <[email protected]> Wed, 23 Jul 2025 10:42:20 +0200
    +
    puppet-module-puppetlabs-mysql (15.0.0-2) unstable; urgency=medium

    * Team upload.
    diff --git a/debian/tests/spec/puppetlabs-mysql_spec.rb b/debian/tests/spec/puppetlabs-mysql_spec.rb
    index 85be4ce..cf55b72 100644
    --- a/debian/tests/spec/puppetlabs-mysql_spec.rb
    +++ b/debian/tests/spec/puppetlabs-mysql_spec.rb
    @@ -45,7 +45,7 @@ describe "mariadb service is started" do
    end

    describe "mariadb is responsive" do
    - describe command("echo '\\s' | mysql") do
    + describe command("echo '\\s' | mysql --ssl=off") do
    its(:exit_status) { should eq 0 }
    its(:stdout) { should match (/Server:\s+MariaDB/) }
    end

    Cheers,

    Thomas Goirand (zigo)

    unblock puppet-module-puppetlabs-mysql/15.0.0-2

    --- SoupGate-Win3