Skip to content

Commit

Permalink
using the same conf process logic for cluster and standalone.
Browse files Browse the repository at this point in the history
  • Loading branch information
stgmsa committed Aug 30, 2024
1 parent 2b71f7f commit cbff64d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/pf/services/manager/ntlm_auth_api.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ use pf::file_paths qw(
);
use pf::util;
use pf::constants qw($TRUE $FALSE);
use pf::cluster qw($cluster_enabled $host_id);;

extends 'pf::services::manager';

Expand Down Expand Up @@ -66,11 +65,6 @@ sub generateConfig {

my $host_id = hostname();
for my $identifier (keys(%ConfigDomain)) {
if ($cluster_enabled) {
unless ($identifier =~ /^$host_id /) {
next;
}
}
my %conf = %{$ConfigDomain{$identifier}};
if (exists($conf{ntlm_auth_host}) && exists($conf{ntlm_auth_port}) && exists($conf{machine_account_password})) {
my $ntlm_auth_host = $conf{ntlm_auth_host};
Expand Down

0 comments on commit cbff64d

Please sign in to comment.