Skip to content

Commit

Permalink
fixup! Include a preliminary check to ensure no RAID devices are list…
Browse files Browse the repository at this point in the history
…ed in the /etc/fstab file
  • Loading branch information
Mikhail Sandakov committed Dec 9, 2024
1 parent 1230830 commit 3437974
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pleskdistup/actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from .distupgrade import *
from .emails import *
from .extensions import *
from .filesystem import *
from .grub import *
from .mariadb import *
from .mounts import *
from .packages import *
from .plesk import *
from .spamassassin import *
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions pleskdistup/actions/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,13 @@ def estimate_post_time(self) -> int:

def estimate_revert_time(self) -> int:
return self.estimate_prepare_time()


class AssertEPELRpmRepositoryPresent(action.CheckAction):
def __init__(self):
self.name = "checking if EPEL RPM repository file is present"
self.description = """The EPEL RPM repository is not present at expected /etc/yum.repo.d/epel.repo.
The EPEL repository is required by Plesk and conversion process
Please install the EPEL repository by running the following command:
\tyum install epel-release
"""

0 comments on commit 3437974

Please sign in to comment.