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