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

Fixes firewalld_custom_service where only protocols are defined #307

Merged

Conversation

nmaludy
Copy link
Member

@nmaludy nmaludy commented Apr 7, 2021

Pull Request (PR) description

Previously if you wanted to define a custom service that only allows protocols it would error when adding protocols to the service. This was caused by the Puppet code omitting the ports array and the provider assuming that the ports array was specified.

I simply added a check to see if ports array was :unset and if it's :unset just skip finding protocols from that array.

This Pull Request (PR) fixes the following issues

Fixes #306

@nmaludy nmaludy requested a review from trevor-vaughan April 7, 2021 18:56
@nmaludy nmaludy force-pushed the bugfix/custom-service-protocols branch from 6d0a48f to 624065c Compare April 7, 2021 18:57
@bastelfreak bastelfreak added the bug Something isn't working label Apr 7, 2021
@jovandeginste
Copy link
Contributor

ping ?

@alexjfisher alexjfisher merged commit cc669a5 into voxpupuli:master May 11, 2022
@alexjfisher
Copy link
Member

@nmaludy Thanks! (and sorry for the delay).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trying to add custom service with protocols and not ports, results in an error on first run
4 participants