Changeset View
Changeset View
Standalone View
Standalone View
roles/paas-docker/containers/init.sls
- This file was copied to pillar/tower.sls.
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Salt — Provision Docker engine | # Salt — Provision Docker engine | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # Project: Nasqueron | # Project: Nasqueron | ||||
| # Created: 2018-03-11 | # Created: 2018-03-11 | ||||
| # License: Trivial work, not eligible to copyright | # License: Trivial work, not eligible to copyright | ||||
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| {% set services = salt['node.filter_by_name']('docker_containers') %} | {% set services = pillar.get('docker_containers', {}) %} | ||||
| {% if services %} | {% if services %} | ||||
| include: | include: | ||||
| {% for service in services %} | {% for service in services %} | ||||
| - .{{ service }} | - .{{ service }} | ||||
| {% endfor %} | {% endfor %} | ||||
| {% endif %} | {% endif %} | ||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator