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

Fixes for systemd, style and spec tests #353

Merged
merged 3 commits into from Jul 12, 2017

Conversation

nacx
Copy link
Contributor

@nacx nacx commented Jul 4, 2017

This PR fixes a notification in the systemd recipe. It has three commits, being the first one the relevant one. The other commits just fix the style and some minor failures in the spec tests.

  • First commit fixes the systemd recipe to send a delayed notification for the C* service enable. There is no need to enable it :immediately. Doing that affects resources that are subscribed to the service[cassandra] status, as enabling it immediately would trigger a status change and enqueue eagerly their subscriptions, which might have expected notifications to be delayed, as defined in the :restart action. Notifications should be better triggered the same way regardless of the action, to have consistent a behavior on subscribers.
  • Second commit fixes the style to make Rubocop happy.
  • The third commit fixes a couple minor spec test failures.

@nacx
Copy link
Contributor Author

nacx commented Jul 12, 2017

@michaelklishin Could you have a look at this?

@michaelklishin michaelklishin merged commit ba625a7 into michaelklishin:master Jul 12, 2017
@michaelklishin
Copy link
Owner

@nacx thank you very much!

@nacx
Copy link
Contributor Author

nacx commented Jul 13, 2017

And build is back to green! Yay!
Is there any chance to have a release with this fix in the short term?

@michaelklishin
Copy link
Owner

@nacx will try to do one before EOW.

@nacx
Copy link
Contributor Author

nacx commented Jul 13, 2017

That would be great. Thanks!

@nacx nacx deleted the systemd-fixes branch July 14, 2017 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants