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

$includedir is not purged when provider = MariaDB #1590

Open
bschonec opened this issue Aug 4, 2023 · 1 comment
Open

$includedir is not purged when provider = MariaDB #1590

bschonec opened this issue Aug 4, 2023 · 1 comment

Comments

@bschonec
Copy link

bschonec commented Aug 4, 2023

Describe the Bug

The $includedir (/etc/my.cnf.d) is not purged when the provider is MariaDB because $includedir is undefined.

Expected Behavior

$includedir to be purged of extraneous files.

Steps to Reproduce

Steps to reproduce the behavior:

  1. ensure $mysql::server::purge_conf_dir: true
  2. Use this module to install MariaDB on RHEL7 or newer.
  3. Observe that $includedir is not purged of extraneous files

Environment

  • Version >= 13.0.0
  • Platform Red Hat 7 or greater

Additional Context

Why ISN'T $includedir defined?

@bschonec
Copy link
Author

bschonec commented Aug 4, 2023

Why is special consideration given to the mariadb provider and its parent directly as shown here? There's no purge/recurse facility for the directory resource.

https://github.com/bschonec/puppetlabs-mysql/tree/maraidb_purge_includedir

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

No branches or pull requests

2 participants