Commit graph

8 commits

Author SHA1 Message Date
Clinton Wolfe
4fce6845e5
Add nftables resources (#6499) (#44)
* Fix systemd path for Leap image



* Use vhef client version 17 as doocker cookbook do not support >= 18



* Add nftables resource



* Add nftables tests



* Add fixtures for nftables tests



* enable nftables only when attr is true - then disable iptables



* By default test iptables, not nftables



* Fix tests and lint errors



* Increase unit test coverage for nftables



* Do not use -nn nft option as behaviour changes based on nft version



* Base nft params identification on its version, not os version

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Make test more human friendly by reversing unless/if logic

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Update mocked cmds with nft params

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Fix quoting issue with rubocop



* Fix uninitiallized class vars



* Fix unit test by adding nft version mocking



* Clean nftables doc



---------

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
Co-authored-by: jjacque <jeremy.jacque@algolia.com>
2023-05-17 20:45:57 -04:00
Tim Smith
8c0d6b0ef0 Add back Ubuntu 16.04 packages + testing
Ubuntu 16.04 is no longer EOL. They've extended support for a full 10 years so it goes EOL in 2026 now.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-10-02 16:56:53 -07:00
Clinton Wolfe
1edf2fea13 Enable now-working platforms, and remove EOL amazonlinux 1
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 22:12:31 -04:00
Clinton Wolfe
0b4a9a397b Remove EOL'd platforms
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:13:43 -04:00
Clinton Wolfe
37f39582cc Disable opensuse testing for now
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
26cc73f608 Add note about oraclelinux-8
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
f5c8f67c2b Do not build inspec gem locally or install in os_prepare
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
e8572d96e0 Add buildkite definition for Dokken kitchen jobs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Renamed from kitchen.yml (Browse further)