Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fact mysqld_version not working correctly on FreeBSD #1643

Open
HerveMARTIN opened this issue Aug 22, 2024 · 1 comment
Open

Fact mysqld_version not working correctly on FreeBSD #1643

HerveMARTIN opened this issue Aug 22, 2024 · 1 comment

Comments

@HerveMARTIN
Copy link

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.

@neomilium
Copy link

@HerveMARTIN Could you try the code available at #1645 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants