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

Notify services by default on drop in files #194

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Apr 27, 2021

This builds on 81f3eb5 which allowed services to be notified automatically. This changes it to default behavior.

Fixes #74

It's currently a draft since it includes #193 which I think it may depend on.

@puppet-community-rangefinder
Copy link

systemd::dropin_file is a type

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

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.

op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
ekohl added 2 commits January 26, 2023 22:40
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
This builds on 81f3eb5 which allowed
services to be notified automatically. This changes it to default
behavior.

Fixes voxpupuli#74
@ekohl ekohl force-pushed the notify-service-on-drop-in branch from 5099b43 to 52000c5 Compare January 26, 2023 21:46
@ekohl ekohl marked this pull request as ready for review January 26, 2023 21:46
@jhoblitt jhoblitt merged commit 40335ad into voxpupuli:master Jan 26, 2023
@jhoblitt jhoblitt added the enhancement New feature or request label Jan 26, 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.

Force ordering on systemd daemon reload before service restart
4 participants