Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F7949132
D2207.id5551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2207.id5551.diff
View Options
diff --git a/roles/paas-docker/salt/init.sls b/roles/paas-docker/salt/init.sls
--- a/roles/paas-docker/salt/init.sls
+++ b/roles/paas-docker/salt/init.sls
@@ -6,21 +6,11 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-{% from "map.jinja" import packages_prefixes with context %}
-
-# -------------------------------------------------------------
-# Does Salt use Python 2 or Python 3?
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-{% if grains['pythonversion'][0] == 2 %}
-{% set prefix = packages_prefixes['python2'] %}
-{% else %}
-{% set prefix = packages_prefixes['python3'] %}
-{% endif %}
-
# -------------------------------------------------------------
# Dependencies for Docker Salt minions
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{{prefix}}docker-py:
- pkg.installed
+required_python_packages_for_docker_and_salt:
+ pip.installed:
+ - name: docker
+ - bin_env: /usr/bin/pip3
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 6, 17:55 (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2635609
Default Alt Text
D2207.id5551.diff (1 KB)
Attached To
Mode
D2207: Install Python Docker library through pip
Attached
Detach File
Event Timeline
Log In to Comment