Page MenuHomeDevCentral

config.sls
No OneTemporary

config.sls

# -------------------------------------------------------------
# Salt — Provision Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-09-18
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
# Configure Docker engine
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% set daemon = pillar['docker_daemon'] %}
{% if daemon %}
{{ dirs.etc }}/docker/daemon.json:
file.managed:
- source: salt://roles/paas-docker/docker/files/daemon.json.jinja
- template: jinja
- mode: 644
- context:
daemon: {{ daemon }}
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 28, 22:47 (16 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436571
Default Alt Text
config.sls (842 B)

Event Timeline