Skip to content

Fact mysqld_version not working correctly on FreeBSD #1643

Open
@HerveMARTIN

Description

@HerveMARTIN

Describe the Bug

On FreeBSD servers, when using MariaDB the fact mysqld_version return an empty string.

Expected Behavior

Should return the MariaDB version, for example :

mariadbd  Ver 10.6.18-MariaDB for FreeBSD13.3 on amd64 (FreeBSD Ports)

Steps to Reproduce

On a FreeBSD server, install mariadb106-server-10.6.18_1 package and check the fact result :

facter -p mysqld_version

Environment

  • Puppet Mysql module version : 16.0.0
  • Platform : FreeBSD 13.3

Additional Context

On FreeBSD servers, when using MariaDB, mysqld is named mariadbd and stored in /usr/local/libexec
Using this binary return the expected value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions