Closed nkadel-skyhook closed 7 years ago
I've learned how to do this better by reading the documentation more thoroughly. The "tmpdir" needs to be set in the stanza that sets the particular instance, itself. Thanks for making this cookbook.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Cookbook version
mysql cookbook 7.2.0
Chef-client version
chefclient 12.10.14 Using chefdk-0.14, for chef-solo compatibility
Platform Details
CentOS 6
Scenario:
I need to set a different tmp_dir for different large instances running on separate filesystems. But the "my.cnf" for even a single instance at /etc/mysql-default/my.cnf is autoconfigured to "/tmp" I can find no way to reset it on an instance by instance basis.
Steps to Reproduce:
Use "mysql" cookbook to generate "mysql-default" instance. Observe /etc/mysql-default/my.cnf.
Expected Result:
Actual Result:
There is no error reported because I can't find a working way to tune the instance specific "tmp_dir" attribute. If I can set this gracefully from a personal recipe or node, great, but I'm unclear on the syntax.
Perhaps this could, instead, be a mysql_service associated attribute, one that defaults to /tmp ?