puppetlabs-mysql
puppetlabs-mysql copied to clipboard
$includedir is not purged when provider = MariaDB
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:
- ensure $mysql::server::purge_conf_dir: true
- Use this module to install MariaDB on RHEL7 or newer.
- 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?
Why is special consideration given to the mariadb provider and its parent directory as shown here? There's no purge/recurse facility for the directory resource.
https://github.com/bschonec/puppetlabs-mysql/tree/maraidb_purge_includedir