Skip to content

Commit

Permalink
Merge pull request #18619 from tinawang123/openldap
Browse files Browse the repository at this point in the history
No need install openldap for regression 15sp3 jobs
  • Loading branch information
jknphy committed Feb 8, 2024
2 parents 1728dcc + 6123c27 commit bea2282
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/migration/openldap_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use testapi;
use serial_terminal 'select_serial_terminal';
use strict;
use warnings;
use Utils::Architectures;
use utils;
use Utils::Systemd qw(systemctl disable_and_stop_service check_unit_file);
use version_utils qw(is_tumbleweed is_sle);
Expand All @@ -20,6 +21,10 @@ sub run {
my ($self) = @_;
select_serial_terminal;

# Install openldap since we need use slaptest tools
my $install_openldap = !((get_var('FLAVOR') =~ /Regression/) && check_var('HDDVERSION', '15-SP3') && is_x86_64);
zypper_call("in sssd sssd-tools sssd-ldap openldap2 openldap2-client") if $install_openldap;

# Disable and stop the nscd daemon because it conflicts with sssd
disable_and_stop_service('nscd') if check_unit_file('nscd');

Expand Down

0 comments on commit bea2282

Please sign in to comment.