Page MenuHomeDevCentral

Install Python Docker library through pip
ClosedPublic

Authored by dereckson on Feb 14 2020, 01:46.
Tags
None
Referenced Files
F2831448: D2207.id5551.diff
Fri, Apr 19, 16:37
Unknown Object (File)
Thu, Apr 18, 02:11
Unknown Object (File)
Wed, Apr 17, 22:15
Unknown Object (File)
Tue, Apr 16, 23:43
Unknown Object (File)
Mon, Apr 15, 05:27
Unknown Object (File)
Sun, Apr 14, 12:45
Unknown Object (File)
Sun, Apr 14, 05:01
Unknown Object (File)
Fri, Apr 12, 14:43
Subscribers
None

Details

Summary

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.

Test Plan

Tested with import docker on Equatower

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
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
This revision is now accepted and ready to land.Feb 14 2020, 01:49
This revision was automatically updated to reflect the committed changes.