Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749670
D2323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
940 B
Referenced Files
None
Subscribers
None
D2323.diff
View Options
diff --git a/roles/paas-docker/containers/init.sls b/roles/paas-docker/containers/init.sls
--- a/roles/paas-docker/containers/init.sls
+++ b/roles/paas-docker/containers/init.sls
@@ -8,7 +8,11 @@
{% set services = salt['node.filter_by_name']('docker_containers') %}
+{% if services %}
+
include:
{% for service in services %}
- .{{ service }}
{% endfor %}
+
+{% endif %}
diff --git a/roles/paas-docker/docker/networks.sls b/roles/paas-docker/docker/networks.sls
--- a/roles/paas-docker/docker/networks.sls
+++ b/roles/paas-docker/docker/networks.sls
@@ -6,7 +6,7 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-{% set networks = pillar['docker_networks'][grains['id']] %}
+{% set networks = salt['pillar.get']("docker_networks:" + grains['id'], {}) %}
# -------------------------------------------------------------
# Bridge networks
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 16:50 (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249653
Default Alt Text
D2323.diff (940 B)
Attached To
Mode
D2323: Allow paas-docker role to succeed when no config is provided
Attached
Detach File
Event Timeline
Log In to Comment