Closed LMtx closed 7 years ago
After looking over some of my own error logs on a different problem entirely, give this syntax a try:
mysql_service node['data']['database']['name'] do
port '3306'
version '5.6'
initial_root_password node['data']['database']['root_rand_p']
service_manager "systemd"
action [:create, :start]
end
Perhaps this service_manager
directive should be added to the supermarket documentation page?
You shouldn't need to specify the service manage. It's automatic unless you have a use case where you want to run sys-v on a systemd host. Just leave it out and things should work fine.
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 (8.1.1)
Chef-client version
Chef: 12.15.19
Platform Details
CentOS Linux release 7.2.1511 (Core)
Scenario:
I try to manually set the provider.
Steps to Reproduce:
Expected Result:
Service created with correct provider.
Actual Result: