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

Remove restart_service on service_limits define #193

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Apr 27, 2021

Since 97dd16f this parameter is a bad idea. It doesn't do a daemon reload and it may restart at the wrong time. In fact, I'd argue it's always been a bad idea.

The recommended alternative to this is to manage the service explicitly and let Puppet handle it. There is an automatic notify that takes care of it.

Fixes #190

@puppet-community-rangefinder
Copy link

systemd::service_limits is a type

Breaking changes to this file WILL impact these 4 modules (exact match):
Breaking changes to this file MAY impact these 2 modules (near match):

This module is declared in 8 of 576 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@ekohl
Copy link
Member Author

ekohl commented Apr 27, 2021

This is a backwards incompatible change, but I can't apply the label.

@ghoneycutt
Copy link
Member

@ekohl looks like this just needs a rebase

@ekohl
Copy link
Member Author

ekohl commented Aug 16, 2021

Rebased

@bastelfreak
Copy link
Member

@ekohl do younneed this urgently or csn we keep it ooen for some time to avoid a major release for some time?

@ekohl
Copy link
Member Author

ekohl commented Aug 16, 2021

No urgency. I'm fine with keeping this till the next major version.

@vox-pupuli-tasks
Copy link

Dear @ekohl, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

}

Systemd::Dropin_file["${name}-90-limits.conf"] ~> Exec["restart ${name} because limits"]
notify_service => true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be configurable?

Since 97dd16f this parameter is a bad
idea. It doesn't do a daemon reload and it may restart at the wrong
time. In fact, I'd argue it's always been a bad idea.

The recommended alternative to this is to manage the service explicitly
and let Puppet handle it. There is an automatic notify that takes care
of it.

Fixes voxpupuli#190
Copy link
Member

@jhoblitt jhoblitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We should have done this long ago...

@jhoblitt jhoblitt merged commit 742c0aa into voxpupuli:master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

daemon reload problem with 3.0.0
5 participants