install salt module deps from local

This commit is contained in:
m0duspwnens
2023-04-05 13:08:50 -04:00
parent b24e3ff6c4
commit aecbfd28ee

View File

@@ -2034,9 +2034,8 @@ saltify() {
#logCmd "dnf -y install securityonion-salt python3-audit python3-libsemanage python3-policycoreutils python3-setools python3-setuptools python3-chardet python3-idna python3-pysocks python3-requests python3-urllib3 python3-websocket-client python3-docker" #logCmd "dnf -y install securityonion-salt python3-audit python3-libsemanage python3-policycoreutils python3-setools python3-setuptools python3-chardet python3-idna python3-pysocks python3-requests python3-urllib3 python3-websocket-client python3-docker"
logCmd "dnf -y install salt salt-master salt-minion" logCmd "dnf -y install salt salt-master salt-minion"
logCmd "mkdir -p /etc/salt/minion.d" logCmd "mkdir -p /etc/salt/minion.d"
logCmd "salt-pip install files/salt_module_deps/docker/requests-2.25.1-py2.py3-none-any.whl" logCmd "salt-pip install docker --no-index --only-binary=:all: --find-links files/salt_module_deps/docker/"
logCmd "salt-pip install files/salt_module_deps/docker/docker-6.0.1-py3-none-any.whl" logCmd "salt-pip install pymysql --no-index --only-binary=:all: --find-links files/salt_module_deps/pymysql/"
logCmd "salt-pip install files/salt_module_deps/pymysql/PyMySQL-1.0.3-py3-none-any.whl"
#if [[ $waitforstate ]]; then #if [[ $waitforstate ]]; then
# # Since this is a salt master so let's install it # # Since this is a salt master so let's install it
# logCmd "" # logCmd ""