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

Updated nis client/server test #4940

Merged
merged 1 commit into from
Apr 25, 2018
Merged

Conversation

mloviska
Copy link
Contributor

@mloviska mloviska commented Apr 25, 2018

configure_default_gateway;
configure_static_ip('10.0.2.3/24');
configure_static_dns(get_host_resolv_conf());
if ($self->firewall eq 'firewalld') {
Copy link
Member

Choose a reason for hiding this comment

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

Let's add check if service is already defined, like we have in yast2_nis.pm:

if ($self->firewall eq 'firewalld' && script_run 'firewall-offline-cmd --get-services | grep ypbind') {

and extract common part, as we do same trick, but by manually adding service with firewall-cmd

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ypbind is being installed after start of "yast2 nis" on line 40, actually that was the initial reason why was the job failing in openQA. Therefore I have introduced a needle to check if there is any package to be installed by yast2 by itself. I guess, that the additional condition will be always true at this point.

@okurz
Copy link
Member

okurz commented Apr 25, 2018

needles merged

I'm not sure I understood your discussion point with @rwx788 but I will merge to have it fixed :)

@okurz okurz merged commit 905c878 into os-autoinst:master Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants