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

Enclose the 'include systemd' in the module #506

Closed
wants to merge 1 commit into from

Conversation

ralfbosz
Copy link

@ralfbosz ralfbosz commented Jan 7, 2025

When using a different module to call the systemd
class and also using systemd::unit_file you get a
duplicate resource. By this 'if !defined' this is
solved. Issue #505

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

When using a different module to call the systemd
class and also using systemd::unit_file you get a
duplicate resource. By this 'if !defined' this is
solved. Issue voxpupuli#505
@bastelfreak
Copy link
Member

Hi,
I don't think that this is a good idea. You're running into errors because the ordering of your resources isn't correct. You need to call the systemd class before systemd::unit_file resources.

@ralfbosz
Copy link
Author

ralfbosz commented Jan 7, 2025

Okay I will close it...

@ralfbosz ralfbosz closed this Jan 7, 2025
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