puppetlabs-firewall icon indicating copy to clipboard operation
puppetlabs-firewall copied to clipboard

Fix "creation" of empty built-in firewall chains

Open 2fa opened this issue 10 months ago • 0 comments

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

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

2fa avatar Apr 04 '24 13:04 2fa