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 lvm profile
# -------------------------------------------------------------
{% if grains['id'] in pillar['docker_daemon'] %}
{% set daemon = pillar['docker_daemon'][grains['id']] %}
{{ 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
Thu, Dec 26, 01:26 (5 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312668
Default Alt Text
config.sls (889 B)

Event Timeline