From b0cede49e3402f8158efeb46d32f24be07003780 Mon Sep 17 00:00:00 2001 From: digimer Date: Fri, 19 Jan 2024 00:12:30 -0500 Subject: [PATCH] Removed calls to check apache config. Signed-off-by: digimer --- Anvil/Tools/Striker.pm | 2 +- tools/anvil-configure-host | 7 ------- tools/anvil-daemon | 8 -------- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Anvil/Tools/Striker.pm b/Anvil/Tools/Striker.pm index 6451a810..9195add1 100644 --- a/Anvil/Tools/Striker.pm +++ b/Anvil/Tools/Striker.pm @@ -14,7 +14,7 @@ our $VERSION = "3.0.0"; my $THIS_FILE = "Striker.pm"; ### Methods; -# check_httpd_conf +# check_httpd_conf - Deprecated # generate_manifest # get_fence_data # get_local_repo diff --git a/tools/anvil-configure-host b/tools/anvil-configure-host index faec462b..f0eb955d 100755 --- a/tools/anvil-configure-host +++ b/tools/anvil-configure-host @@ -354,13 +354,6 @@ sub reconfigure_network } } - ### NOTE: No longer needed, we don't use apache anymore. - # If we're a striker, check apache's config. - if ($type eq "striker") - { - #$anvil->Striker->check_httpd_conf({debug => 2}); - } - # Now configure the network. my $dns = $anvil->data->{config}{dns} ? [split/,/, $anvil->data->{config}{dns}] : []; $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { dns => $dns }}); diff --git a/tools/anvil-daemon b/tools/anvil-daemon index c8d6796a..71fb69d9 100755 --- a/tools/anvil-daemon +++ b/tools/anvil-daemon @@ -1365,14 +1365,6 @@ AND # Check the firewall needs to be updated. check_firewall($anvil); - # If we're a striker, check striker-ui-api - my $host_type = $anvil->Get->host_type; - $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { host_type => $host_type }}); - if ($host_type eq "striker") - { - $anvil->Striker->check_httpd_conf({debug => 3}); - } - return(0); }