Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768851
D1409.id3595.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D1409.id3595.diff
View Options
diff --git a/pillar/paas/docker.sls b/pillar/paas/docker.sls
new file mode 100644
--- /dev/null
+++ b/pillar/paas/docker.sls
@@ -0,0 +1,27 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-03-10
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# You can append a :tag (by default, latest is used).
+# You can't directly specify a Docker library images.
+# See https://docs.saltstack.com/en/latest/ref/states/all/salt.states.docker_image.html
+
+docker_images:
+ dwellers:
+ # Core services
+ - nasqueron/mysql
+ - nasqueron/rabbitmq
+ # Infrastructure and development services
+ - nasqueron/aphlict
+ - dereckson/cachet
+ - nasqueron/etherpad
+ - nasqueron/notifications
+ - nasqueron/phabricator
+ equatower:
+ # Continous deployment jobs
+ - jenkinsci/jenkins
+ - nasqueron/jenkins-slave-php
diff --git a/pillar/top.sls b/pillar/top.sls
--- a/pillar/top.sls
+++ b/pillar/top.sls
@@ -15,6 +15,10 @@
- nodes.forests
- hotfixes.roles
- webserver.sites
+ dwellers:
+ - paas.docker
+ equatower:
+ - paas.docker
ysul:
- devserver.repos
- viperserv.bots
diff --git a/roles/paas-docker/docker/images.sls b/roles/paas-docker/docker/images.sls
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/docker/images.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Salt — Provision Docker engine
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2018-03-10
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% set images = salt['pillar.get']('docker_images:' + grains['id'], []) %}
+
+# -------------------------------------------------------------
+# Fetch Docker images
+# -------------------------------------------------------------
+
+{% for image in images %}
+{{ image }}:
+ docker_image.present
+{% endfor %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 10:57 (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259758
Default Alt Text
D1409.id3595.diff (2 KB)
Attached To
Mode
D1409: Saltize Docker images to fetch
Attached
Detach File
Event Timeline
Log In to Comment