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

Introduce a private socket_service helper #199

Merged
merged 1 commit into from
May 27, 2021

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented May 26, 2021

This ensures the correct dependency ordering. This is submitted to camptocamp/systemd but we're currently still on 2.x so no update will be available. This also helps with the move to 3.x.

Submitting this now to see if it works in CI, then I can polish it up.

@ekohl ekohl force-pushed the service-socket-helper branch 2 times, most recently from 88e1353 to fe0081e Compare May 26, 2021 14:27
@ekohl ekohl marked this pull request as ready for review May 26, 2021 15:34
'stopped' => false,
'absent' => false,
default => undef,
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see present in the list but it is in the Enum of the parameter.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what default is for. I agree it's a bit ugly, but puppet-lint wants a default statement and this is how I dealt with it.

This ensures the correct dependency ordering. This is submitted to
camptocamp/systemd but we're currently still on 2.x so no update will be
available. This also helps with the move to 3.x.
@ekohl ekohl marked this pull request as draft May 27, 2021 13:00
@ekohl ekohl force-pushed the service-socket-helper branch from fe0081e to 832a3a2 Compare May 27, 2021 13:32
@ekohl ekohl marked this pull request as ready for review May 27, 2021 13:48
@ekohl ekohl merged commit 832a3a2 into theforeman:master May 27, 2021
@ekohl ekohl deleted the service-socket-helper branch May 27, 2021 13:52
@ekohl ekohl added the Enhancement New feature or request label May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Needs testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants