Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/paas-docker/salt/init.sls b/roles/paas-docker/salt/init.sls
index c14dce5..23a401a 100644
--- a/roles/paas-docker/salt/init.sls
+++ b/roles/paas-docker/salt/init.sls
@@ -1,26 +1,16 @@
# -------------------------------------------------------------
# Salt — Salt configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-03-10
# 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

Mime Type
text/x-diff
Expires
Mon, Nov 25, 12:06 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260138
Default Alt Text
(1 KB)

Event Timeline