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

service is restarted every run if not localhost #76

Closed
kevsgithub opened this issue Jul 3, 2015 · 6 comments
Closed

service is restarted every run if not localhost #76

kevsgithub opened this issue Jul 3, 2015 · 6 comments
Assignees

Comments

@kevsgithub
Copy link

setting node.default['mariadb']['mysqld']['bind_address'] causes the service to be restarted on every chef run.

INFO: Processing execute[mariadb-service-restart-needed] action run (mariadb::server line 81)

only_if do
mariadb_service_restart_required?(
'127.0.0.1',
node['mariadb']['mysqld']['port'],
node['mariadb']['mysqld']['socket']
)
end

Changing '127.0.0.1' to node['mariadb']['mysqld']['bind_address'] works for me, but I'm new to all of this.

@sinfomicien
Copy link
Contributor

Seems, you're right... Could you please send a PR ?

@sinfomicien
Copy link
Contributor

Will do it, as i need to add it to galera by the way

@sinfomicien
Copy link
Contributor

Waiting for PR #78 to pass tests

@sinfomicien sinfomicien self-assigned this Jul 28, 2015
@sinfomicien
Copy link
Contributor

The bug is fixed in the latest mariadb cookbook version. Thx for your bug submission

@kevsgithub
Copy link
Author

Thank you for your efforts.

jfwm2 pushed a commit to jfwm2/mariadb that referenced this issue Apr 4, 2017
@lock
Copy link

lock bot commented Jul 24, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants