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

Fix broken symlinks to non existing services #34

Closed

Conversation

WoutResseler
Copy link

This fixes the fact where the module was trying to create systemd services for services that where set to false in the code.

This caused broken symlinks to be created on the machine. Add the if statements resolves this.

@crazymind1337
Copy link
Collaborator

crazymind1337 commented Nov 13, 2024

Hello - sorry for the late reply. You PR would introduce another bug. If you would disable any service (backup, forget, restore) it would disable the management of each resource (service, file, ...). It would not stop or remove the service. But I have found the bug you have mentioned while testing it.

I will provide a bugfix for that.

Edit 1: After some more testing I found the systemd module had a bug, after upgrading to the latest forge version the file has been removed. Please try to upgrade the systemd puppet module and check if this fixes your issue. If not please recreate the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants