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

[Backport][ipa-4-8] ipatests: Mark firewalld commands as no-op on non-firewalld distros #4510

Closed
wants to merge 1 commit into from
Closed

[Backport][ipa-4-8] ipatests: Mark firewalld commands as no-op on non-firewalld distros #4510

wants to merge 1 commit into from

Conversation

fcami
Copy link
Contributor

@fcami fcami commented Apr 8, 2020

MANUAL CHERRY-PICK of #4506

The FreeIPA integration tests strictly require Firewalld.
But not all the distros have such or any other high-level tool
for managing a firewall. Thus, to run integration tests on such systems
NoOpFirewall class has been added, which provides no-op firewalld
commands.

Fixes: https://pagure.io/freeipa/issue/8261
Signed-off-by: Stanislav Levin slev@altlinux.org
Reviewed-By: Rob Crittenden rcritten@redhat.com
Reviewed-By: François Cami fcami@redhat.com

The FreeIPA integration tests strictly require Firewalld.
But not all the distros have such or any other high-level tool
for managing a firewall. Thus, to run integration tests on such systems
NoOpFirewall class has been added, which provides no-op firewalld
commands.

Fixes: https://pagure.io/freeipa/issue/8261
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: François Cami <fcami@redhat.com>
@fcami
Copy link
Contributor Author

fcami commented Apr 8, 2020

ACKing as the cherry-pick did not involve any manual merge.

@fcami fcami added the ack Pull Request approved, can be merged label Apr 8, 2020
@abbra abbra added the pushed Pull Request has already been pushed label Apr 9, 2020
@abbra
Copy link
Contributor

abbra commented Apr 9, 2020

ipa-4-8:

  • d320997 ipatests: Mark firewalld commands as no-op on non-firewalld distros

@abbra abbra closed this Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants