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

Deprecate systemd::service_limits #437

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

traylenator
Copy link
Contributor

@traylenator traylenator commented Mar 12, 2024

Pull Request (PR) description

The systemd::service_limits and corresponding type Systemd::Servicelimits is deprecated.

Switch to systemd::dropin_file for a source attributed systemd::service_limits or systemd::manage_unit for a limits attributed systemd::service_limits.

manifests/service_limits.pp Outdated Show resolved Hide resolved
manifests/service_limits.pp Outdated Show resolved Hide resolved
manifests/service_limits.pp Outdated Show resolved Hide resolved
manifests/service_limits.pp Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@traylenator
Copy link
Contributor Author

I thought that should fail on 8- was confused why it didn't locall - sure it used to.

README.md Outdated Show resolved Hide resolved
The `systemd::service_limts` and corresponding type
`Systemd::Servicelimits` is deprecated.

Switch to `systemd::dropin_file` for a source attributed
`systemd::service_limits` or `systemd::manage_unit` for a
`limits` attributed `systemd::service_limits`.
@bastelfreak
Copy link
Member

@traylenator is that actually a breaking change, or does it just prepare it? I would like to do the next major release somewhere in the next weeks and drop also support for EoL/soon-EoL operating systems.

@traylenator
Copy link
Contributor Author

@traylenator is that actually a breaking change, or does it just prepare it? I would like to do the next major release somewhere in the next weeks and drop also support for EoL/soon-EoL operating systems.

It just prepares it - should be nothing breaking other than puppet8 rspec tests of course.

Had assumed that breaking is when you add the deprecation and then when its actually removed it is not breaking since declared deprecated?

@bastelfreak
Copy link
Member

I would say it doesn't break your existing setup, so this could be released as a minor release and when we remove the parameter it's a breaking change.

@traylenator
Copy link
Contributor Author

There's already a breaking change in HEAD however - #438 ? Ship has sailed.

@TheMeier
Copy link
Contributor

I would be nice if we could get #406, #429, #437 and #443 done and make a major release, plus the proposed drop for EOL/soon-EOL from @bastelfreak? And hope @traylenator doesn't come up with another breaking feature with 1-2 weeks :D

@TheMeier
Copy link
Contributor

There is also #434 which is already merged

@traylenator
Copy link
Contributor Author

There is also #434 which is already merged

Yeah. I've had to change (bad) code due to this one.

@traylenator traylenator merged commit 95a67f5 into voxpupuli:master Apr 8, 2024
35 checks passed
traylenator added a commit to traylenator/puppet-redis that referenced this pull request Apr 12, 2024
@traylenator traylenator deleted the wrap branch April 13, 2024 03:18
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.

4 participants