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

Add restart_service parameter on service_limits for compatibility #313

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jan 27, 2023

In 8a9e03a the parameter was removed, but this makes it very hard for modules to be compatible with both < 4 and >= 4. Requiring >= 4 will be painful, so this adds the parameter again but only accepts the parameter false.

A concrete example is the puppet-redis module which sets restart_service to false to prevent a restart. This would be compatible with both the old and new behavior, making upgrades smoother.

In 8a9e03a the parameter was removed,
but this makes it very hard for modules to be compatible with both < 4
and >= 4. Requiring >= 4 will be painful, so this adds the parameter
again but only accepts the parameter false.

A concrete example is the puppet-redis module which sets restart_service
to false to prevent a restart. This would be compatible with both the
old and new behavior, making upgrades smoother.

Fixes: 8a9e03a
@ekohl ekohl merged commit ace8194 into voxpupuli:master Jan 27, 2023
@ekohl ekohl deleted the add-service-limits-again branch January 27, 2023 13:39
@jhoblitt jhoblitt mentioned this pull request Jan 27, 2023
@jhoblitt jhoblitt added enhancement New feature or request and removed bug Something isn't working labels Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants