Skip to content

Conversation

@2fa
Copy link
Contributor

@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
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for catching this.

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.

5 participants