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

Support specifying priority on rich rules #296

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

ananace
Copy link
Member

@ananace ananace commented Jul 2, 2020

Pull Request (PR) description

Adds support for the priority option on rich rules, to allow ordering them outside of the normally implicit - and not guaranteed to be deterministic - ordering imposed by when they're added.

@ananace ananace added the enhancement New feature or request label Jul 2, 2020
@decibelhertz
Copy link

Hi -- will this PR get rolled into a release? Been almost 2 years, but I cannot really convert from firewall to firewalld without the ability to set a priority in rich rules...

@tskirvin
Copy link

tskirvin commented Sep 1, 2022

What's the word about getting this approved and implemented?

@bastelfreak
Copy link
Member

@tskirvin there's an open comment from @trevor-vaughan that needs to be addressed :)

@tskirvin
Copy link

tskirvin commented Sep 1, 2022

Fair enough, but I'm with @decibelhertz here - I can't really start converting from firewall to firewalld until this is addressed, and I'd prefer to work under the don't-let-perfect-be-the-enemy-of-good policy.

@ananace ananace force-pushed the add-rich-rule-priority branch from 0e60d59 to 0b48644 Compare September 1, 2022 16:35
@ananace ananace force-pushed the add-rich-rule-priority branch from 0b48644 to 74f9640 Compare September 1, 2022 16:39
@ananace
Copy link
Member Author

ananace commented Sep 1, 2022

There we go, must've missed the notification about that comment.

Also rebased it onto master while I was at it adding a validation.

@bastelfreak bastelfreak merged commit 2b17331 into voxpupuli:master Sep 1, 2022
@ananace ananace deleted the add-rich-rule-priority branch September 1, 2022 18:09
@tskirvin
Copy link

What's the word about getting a new puppet forge release for this change and any others that have come recently? The last official release I see was 4.5.1 back on 15 Aug.

@hex-m
Copy link

hex-m commented Feb 2, 2023

From what I get this feature is not available in the firewalld version that comes with centOS/rhel 7. So releasing this means the module does not support that OS-version anymore.

@brgerig
Copy link

brgerig commented May 5, 2023

I also find myself needing this enhancement. I thought I might be able to use it by pointing the Puppetfile mod at the github master branch instead of puppetforge, and it does appear that I'm getting code with these changes, but I'm still getting a Server Error: no parameter named 'priority' when I try to add a priority to a rich rule. Should it work as-is, or am I missing something?

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

Successfully merging this pull request may close these issues.

7 participants