-
Notifications
You must be signed in to change notification settings - Fork 457
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
debian: service: fix ensure
parameter usage
#1095
Conversation
`ensure` is defined but not used anywhere, no clear way to ensure the service is running (and makes it impossible to do so outside the module)
firewall::linux::debian is a classthat may have no external impact to Forge modules. This module is declared in 106 of 580 indexed public
|
Hi @damonbreeden |
A rebase on "main" will probably fix the checks (and trigger a new run of checks) |
hi, your test failure expects the service to be unmanaged but IMO this is an oversight, since this makes it impossible to actually manage the running state of the service with puppet, since we define it here as |
hi @damonbreeden, thanks for providing some more context surrounding the test failures. Please feel free to update the debian specific spec tests so that the now pass with this change. (When you have the free time!) I suspect the failing RHEL-9 issues are due to your branch being outdated, and a fix has since been merged into main for this. Thanks for your work on this one. |
bc its necessary with the new changes puppetlabs#1095 (comment)
also `with Debian unstable, ensure => stopped`, seems to have been overlooked
hi @jordanbreen28 pls see latest commits, i think they address the spec tests correctly |
sorry, spoke too quickly
edit: figured out where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ensure
is defined but not used anywhere, no clear way to ensure the service is running (and makes it impossible to do so outside the module)