Skip to content

Commit

Permalink
add pyotp
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Aug 7, 2024
1 parent 06239c5 commit b16953e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions ApachController/ApacheController.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,10 @@ def phpVersions():
# Version 5.4

if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:

command = 'yum install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm'
if ProcessUtilities.alma9check == 1:
command = 'yum install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm'
else:
command = 'yum install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm'
ApacheController.executioner(command)

command = "yum install -y php?? php??-php-fpm php??-php-mysql php??-php-curl php??-php-gd php??-php-mbstring php??-php-xml php??-php-zip php??-php-intl"
Expand Down
2 changes: 0 additions & 2 deletions plogical/virtualHostUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ class virtualHostUtilities:





@staticmethod
def OnBoardingHostName(Domain, tempStatusPath, skipRDNSCheck):
import json
Expand Down
1 change: 1 addition & 0 deletions requirments-old.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ psutil==5.7.3
py3dns==3.2.1
pyOpenSSL==19.1.0
pysftp
pyotp
requests==2.26.0
s3transfer==0.5.0
sqlparse==0.4.2
Expand Down
1 change: 1 addition & 0 deletions requirments.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ psutil==5.7.3
py3dns==4.0.2
pyOpenSSL==24.2.1
pysftp==0.2.9
pyotp
PyYAML==6.0.1
requests==2.32.3
s3transfer==0.10.2
Expand Down

0 comments on commit b16953e

Please sign in to comment.