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 "creation" of empty built-in firewall chains #1206

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

2fa
Copy link

@2fa 2fa commented Apr 4, 2024

Summary

Fixes the issue when you are trying to create an in-built firewall chain in a table that was not been interacted with before.

Additional Context

Currently if you are trying to create in-built chain in an empty table (nat, for example) puppet will apply manifest without actually doing anything every time you run it. This is because firewall module relyes on iptables-save output that will not contain in-built chain if corresponding table not been interacted with yet.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@2fa 2fa requested a review from a team as a code owner April 4, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants