Skip to content

Commit 215d488

Browse files
committed
updated files where the old modcluster.conf was used
1 parent 63295a2 commit 215d488

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

core/src/main/groovy/noe/rhel/server/workspace/WorkspaceHttpdTomcatsBaseOS.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class WorkspaceHttpdTomcatsBaseOS extends WorkspaceMultipleTomcats{
9595
* @param httpd Instance of `Httpd` server
9696
*/
9797
private void copyModClusterConfIfMissing(Httpd httpd) {
98-
List<String> confRelativePaths = ["conf.d/mod_cluster.conf"]
98+
List<String> confRelativePaths = ["conf.d/${DefaultProperties.MOD_CLUSTER_CONFIG_FILE}"]
9999
confRelativePaths.each() { String confRelativePath->
100100
File confPath = new File(httpd.getServerRoot(), confRelativePath)
101101
File sclConfPath = new File("${DefaultProperties.HTTPD_SCL_ROOT}/etc/httpd/${confRelativePath}")

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
<groupId>org.jboss.qa.noe</groupId>
66
<artifactId>noe-core-parent</artifactId>
77
<version>0.17.7-SNAPSHOT</version>
8+
<dependencies>
9+
<dependency>
10+
<groupId>org.jboss.qa.noe</groupId>
11+
<artifactId>noe-core</artifactId>
12+
</dependency>
13+
</dependencies>
814
<packaging>pom</packaging>
915

1016
<name>Noe core: Parent</name>

testsuite/src/test/groovy/noe/HttpdKillTestIT.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package noe
22

33
import groovy.util.logging.Slf4j
4+
import noe.common.DefaultProperties
45
import noe.common.TestAbstract
56
import noe.common.utils.JBFile
67
import noe.common.utils.Platform
@@ -35,7 +36,7 @@ class HttpdKillTestIT extends TestAbstract {
3536
log.debug("Deleting ssl.conf: $sslConfFile.absolutePath")
3637
JBFile.delete(sslConfFile)
3738
// we are not testing mod_cluster here, lets remove mod_cluster
38-
def mod_clusterConfFile = new File(httpdServer.getConfDeploymentPath(), "mod_cluster.conf")
39+
def mod_clusterConfFile = new File(httpdServer.getConfDeploymentPath(), DefaultProperties.MOD_CLUSTER_CONFIG_FILE)
3940
log.debug("Deleting mod-cluster.conf: $mod_clusterConfFile.absolutePath")
4041
JBFile.delete(mod_clusterConfFile)
4142
}

0 commit comments

Comments
 (0)