Salt now uses Python 3, so the 2/3 logic isn't needed anymore.
EPEL 8 doesn't provide a package for this library. As such,
we fallback to an installation through pip.
Ref T1592.
Differential D2207
Install Python Docker library through pip Authored by dereckson on Feb 14 2020, 01:46. Tags None Referenced Files
Subscribers None
Details
Salt now uses Python 3, so the 2/3 logic isn't needed anymore. EPEL 8 doesn't provide a package for this library. As such, Ref T1592. Tested with import docker on Equatower
Diff Detail
Event TimelineComment Actions EquaTower $ salt-call state.sls roles/paas-docker/salt local: ---------- ID: required_python_packages_for_docker_and_salt Function: pip.installed Name: docker Result: True Comment: Python package docker was already installed All specified packages are already installed Started: 01:48:53.208144 Duration: 1711.55 ms Changes: Summary for local ------------ Succeeded: 1 Failed: 0 ------------ Total states run: 1 Total run time: 1.712 s |