Skip to content

Commit 963e6d6

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/cloudlinux' into clos-directadmin-elevation
2 parents c08e3c8 + ab33af1 commit 963e6d6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

packaging/leapp-repository.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ py2_byte_compile "%1" "%2"}
4242

4343
Name: leapp-repository
4444
Version: 0.16.0
45-
Release: 8%{?dist}.cloudlinux
45+
Release: 9%{?dist}.cloudlinux
4646
Summary: Repositories for leapp
4747

4848
License: ASL 2.0

repos/system_upgrade/cloudlinux/actors/checkpanelmemory/libraries/checkpanelmemory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
INTEGRATED_NAME,
1010
CPANEL_NAME,
1111
DIRECTADMIN_NAME,
12+
PLESK_NAME,
1213
)
1314

1415
required_memory = {
1516
NOPANEL_NAME: 1536 * 1024, # 1.5 Gb
1617
UNKNOWN_NAME: 1536 * 1024, # 1.5 Gb
1718
INTEGRATED_NAME: 1536 * 1024, # 1.5 Gb
1819
DIRECTADMIN_NAME: 1536 * 1024, # 1.5 Gb
20+
PLESK_NAME: 1536 * 1024, # 1.5 Gb
1921
CPANEL_NAME: 1836 * 1024, # 1.8 Gb
2022
}
2123

repos/system_upgrade/cloudlinux/actors/detectcontrolpanel/actor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
UNKNOWN_NAME,
1212
INTEGRATED_NAME,
1313
CPANEL_NAME,
14-
DIRECTADMIN_NAME
14+
DIRECTADMIN_NAME,
15+
PLESK_NAME
1516
)
1617

1718

@@ -31,7 +32,7 @@ def process(self):
3132
if panel is None:
3233
raise StopActorExecutionError(message=("Missing information about the installed web panel."))
3334

34-
if panel.name in (CPANEL_NAME, DIRECTADMIN_NAME):
35+
if panel.name in (CPANEL_NAME, DIRECTADMIN_NAME, PLESK_NAME):
3536
self.log.debug('%s detected, upgrade proceeding' % panel.name)
3637
elif panel.name == INTEGRATED_NAME or panel.name == UNKNOWN_NAME or panel.name == NOPANEL_NAME:
3738
self.log.debug('Integrated/no panel detected, upgrade proceeding')

0 commit comments

Comments
 (0)