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 dirs, packages_prefixes with context %}
# -------------------------------------------------------------
# Dependencies for Docker Salt minions
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
required_python_packages_for_docker_and_salt:
pkg.installed:
- name: {{ packages_prefixes.python3 }}pip < 6.0
pip.installed:
- name: docker
- bin_env: /usr/bin/pip3
- reload_modules: True
- require:
- pkg: required_python_packages_for_docker_and_salt
# -------------------------------------------------------------
# Wrapper to fetch a credential
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ dirs.bin }}/credential:
file.managed:
- source: salt://roles/paas-docker/salt/files/credential.sh
- mode: 755

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 28, 17:48 (16 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3204896
Default Alt Text
init.sls (1 KB)

Event Timeline