community.general/changelogs/fragments
patchback[bot] c3df54689c
[PR #8029/23396e62 backport][stable-7] Fix check mode in iptables_state for incomplete iptables-save files along with integration tests (#8136)
Fix check mode in iptables_state for incomplete iptables-save files along with integration tests (#8029)

* Implement integration test to reproduce #7463

* Make new iptables_state checks async

* Add missing commit to iptable_state integration test

* Remove async when using checkmode in iptables_state integration tests

* Do per table comparison in check mode for iptables_state

* Calculate changes of iptables state per table based on result

* Output target iptables state in checkmode

* Refactor calculation of invidual table states in iptables_state

* Add missing return for table calculation

* Add missing arg to regex check

* Remove leftover debug output for target iptable state

* Parse per table state from raw state string

* Join restored state for extration of table specific rules

* Switch arguments for joining restored iptable state

* Output final ip table state

* Compare content of tables

* Complete iptables partial tables test cases

* Correct order of test iptables data

* Update docu for iptables tables_after

* Add changelog fragment

* Appease the linting gods for iptables_state

* Adjust spelling and remove tables_after from return values

(cherry picked from commit 23396e62dc)

Co-authored-by: Maxopoly <max@dermax.org>
2024-03-24 18:25:57 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
7.5.6.yml Next release will be 7.5.6. 2024-02-25 21:26:09 +01:00
7953-proxmox_kvm-fix_status_check.yml [PR #7953/248e2ff3 backport][stable-7] [FIX] proxmox_kvm: fetch vm status from node-specific API endpoint to ensure fresh state (#8044) 2024-02-28 22:23:30 +01:00
8029-iptables-state-restore-check-mode.yml [PR #8029/23396e62 backport][stable-7] Fix check mode in iptables_state for incomplete iptables-save files along with integration tests (#8136) 2024-03-24 18:25:57 +01:00
8048-fix-homebrew-module-error-reporting-on-become-true.yaml [PR #8048/fa30b022 backport][stable-7] fix(homebrew): give correct error message when become true used (#8067) 2024-03-09 12:42:25 +00:00
8057-pam_limits-check-mode.yml [PR #8057/c13bede0 backport][stable-7] pam_limits: do not create file in check mode when it does not exist (#8070) 2024-03-09 12:42:09 +00:00
aix_filesystem-crfs-issue.yml [PR #8052/73b6b98e backport][stable-7] Aix filesystem crfs issue (#8111) 2024-03-17 17:40:35 +01:00
lxd-instances-api-endpoint-added.yml [PR #7980/74c15c12 backport][stable-7] Updates lxd_container to support new LXD API (#8045) 2024-02-28 22:26:44 +01:00
pacemaker-cluster.yml [PR #8081/17e275bc backport][stable-7] pacemaker_cluster: implement check mode (#8094) 2024-03-14 22:32:39 +01:00