Changeset View
Changeset View
Standalone View
Standalone View
roles/paas-docker/containers/memcached.sls
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Salt — Provision Docker engine | # Salt — Provision Docker engine | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| # Project: Nasqueron | # Project: Nasqueron | ||||
| # 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['memcached'].items() %} | {% for instance, container in pillar['docker_containers']['memcached'].items() %} | ||||
| {% set image = salt['paas_docker.get_image']("memcached", container) %} | {% set image = salt['paas_docker.get_image']("memcached", container) %} | ||||
| # ------------------------------------------------------------- | # ------------------------------------------------------------- | ||||
| # Container | # Container | ||||
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||||
| {{ instance }}: | {{ instance }}: | ||||
| docker_container.running: | docker_container.running: | ||||
| Show All 14 Lines | |||||
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator