Skip to content

Commit 52eae8f

Browse files
authored
Merge pull request #117 from mmadzin/rhel9
JWS / JBCS changes for RHEL 9
2 parents d05f7f8 + 3e359f5 commit 52eae8f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

core/src/main/groovy/noe/ews/utils/JwsNameHelper.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class JwsNameHelper {
9696
else if (platform.isRHEL6()) result += 'RHEL6-'
9797
else if (platform.isRHEL7()) result += 'RHEL7-'
9898
else if (platform.isRHEL8()) result += 'RHEL8-'
99+
else if (platform.isRHEL9()) result += 'RHEL9-'
99100
if (platform.isX86()) {
100101
result += "i386"
101102
} else if (platform.isX64()) {

core/src/main/groovy/noe/rhel/server/httpd/HttpdBaseOS.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class HttpdBaseOS extends Httpd {
3434
this.logDirs = ['/logs']
3535
// what path will be taken as relative for star/stop cmd
3636
this.binPath = '/'
37-
if (platform.isRHEL8() || platform.isRHEL7()) {
37+
if (platform.isRHEL9() || platform.isRHEL8() || platform.isRHEL7()) {
3838
this.start = ['systemctl', 'start', serviceName]
3939
this.stop = ['systemctl', 'stop', serviceName]
4040
} else if (platform.isRHEL6()) {

core/src/main/groovy/noe/workspace/WorkspaceHttpdBaseOS.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class WorkspaceHttpdBaseOS extends WorkspaceAbstract {
99

1010
WorkspaceHttpdBaseOS() {
1111

12-
if (platform.isRHEL8() || platform.isRHEL7()) {
12+
if (platform.isRHEL9() || platform.isRHEL8() || platform.isRHEL7()) {
1313
HttpdBaseOS server = new HttpdBaseOS(basedir, '2.4')
1414
serverController.addServer("httpd-24-1", server)
1515
} else if (platform.isRHEL6()) {

0 commit comments

Comments
 (0)