Changeset View
Changeset View
Standalone View
Standalone View
roles/paas-docker/containers/exim.sls
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Salt — Provision Docker engine | # Salt — Provision Docker engine | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # Project: Nasqueron | # Project: Nasqueron | ||||
| # Created: 2018-11-10 | # Created: 2018-11-10 | ||||
| # License: Trivial work, not eligible to copyright | # License: Trivial work, not eligible to copyright | ||||
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| {% set has_selinux = salt['grains.get']('selinux:enabled', False) %} | {% set has_selinux = salt['grains.get']('selinux:enabled', False) %} | ||||
| {% set containers = pillar['docker_containers'][grains['id']] %} | |||||
| {% for instance, container in containers['exim'].items() %} | {% for instance, container in pillar['docker_containers']['exim'].items() %} | ||||
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Data directory | # Data directory | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| /srv/exim/{{ instance }}: | /srv/exim/{{ instance }}: | ||||
| file.directory: | file.directory: | ||||
| - user: 999 | - user: 999 | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator