Page MenuHomeDevCentral

init.sls
No OneTemporary

init.sls

# -------------------------------------------------------------
# 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

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 18:02 (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2281465
Default Alt Text
init.sls (959 B)

Event Timeline