Changeset View
Changeset View
Standalone View
Standalone View
roles/paas-docker/containers/phabricator.sls
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Salt — Provision Docker engine | # Salt — Provision Docker engine | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # Project: Nasqueron | # Project: Nasqueron | ||||
| # Created: 2018-09-06 | # Created: 2018-09-06 | ||||
| # 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['phabricator'].items() %} | {% for instance, container in pillar['docker_containers']['phabricator'].items() %} | ||||
| {% set create_container = "skip_container" not in container or not container['skip_container'] %} | {% set create_container = "skip_container" not in container or not container['skip_container'] %} | ||||
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Storage directory | # Storage directory | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| /srv/phabricator/{{ instance }}: | /srv/phabricator/{{ instance }}: | ||||
| file.directory: | file.directory: | ||||
| ▲ Show 20 Lines • Show All 63 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