mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-05 19:08:10 +02:00
upgrade docker python module
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
{% set service_start_delay = SALTMINION.salt.minion.service_start_delay %}
|
{% set service_start_delay = SALTMINION.salt.minion.service_start_delay %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- salt.python_modules
|
||||||
- salt
|
- salt
|
||||||
- systemd.reload
|
- systemd.reload
|
||||||
- repo.client
|
- repo.client
|
||||||
|
|||||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@
|
|||||||
|
docker_module_package:
|
||||||
|
file.recurse:
|
||||||
|
- name: /opt/so/conf/salt/modules_packages/docker
|
||||||
|
- source: salt://salt/module_packages/docker
|
||||||
|
- clean: True
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
docker_python_module_install:
|
||||||
|
cmd.run:
|
||||||
|
- name: /opt/saltstack/salt/bin/python3.10 -m pip install docker --no-index --find-links=/opt/so/conf/salt/modules_packages/docker/ --upgrade
|
||||||
|
- onchanges:
|
||||||
|
- file: docker_module_package
|
||||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1931,7 +1931,7 @@ saltify() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
salt_install_module_deps() {
|
salt_install_module_deps() {
|
||||||
logCmd "salt-pip install docker --no-index --only-binary=:all: --find-links files/salt_module_deps/docker/"
|
logCmd "/opt/saltstack/salt/bin/python3.10 -m pip install --no-index --find-links=../salt/salt/module_packages/docker"
|
||||||
}
|
}
|
||||||
|
|
||||||
salt_patch_x509_v2() {
|
salt_patch_x509_v2() {
|
||||||
|
|||||||
Reference in New Issue
Block a user