Skip to content

Commit 63295a2

Browse files
committed
added default modcluster.conf update to manage new naming convention
1 parent ba22ef0 commit 63295a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/main/groovy/noe/common/DefaultProperties.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package noe.common
22

33
import noe.common.utils.Library
44
import noe.common.utils.OpenSslVersion
5+
import noe.common.utils.Platform
56
import noe.common.utils.Version
67
/**
78
*
@@ -127,4 +128,8 @@ class DefaultProperties {
127128
public static final String MODCLUSTER_MCAST_PORT = Library.getUniversalProperty('modcluster.mcast.port', '23364')
128129
public static final String UDP_MCAST_ADDRESS = Library.getUniversalProperty('udp.mcast.address', Library.getUniversalProperty("MCAST_ADDR", '228.11.11.11'))
129130
public static final String JGROUPS_MCAST_PORT = Library.getUniversalProperty('jgroups.mcast.port', Library.getUniversalProperty("MCAST_PORT", '45688'))
131+
132+
// Added to allow for the new naming convention used in RHEL9
133+
static final String MOD_CLUSTER_CONFIG_FILE = new Platform().isRHEL9() ? Library.getUniversalProperty('mod.proxy.cluster.config.file', "mod_proxy_cluster.conf") : Library.getUniversalProperty('modcluster.config.file', "mod_cluster.conf")
134+
static final String MOD_PROXY_CLUSTER_CONFIG_FILE = MOD_CLUSTER_CONFIG_FILE
130135
}

0 commit comments

Comments
 (0)