We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331cc0c commit 19082bbCopy full SHA for 19082bb
salt/consul/init.sls
@@ -117,6 +117,7 @@ consul:
117
{% endif %}
118
119
120
+{% if pillar["dc"] in pillar["consul"]["dcs"] %}
121
{% for service in pillar["consul"].get("external", []) %}
122
consul-external-{{ service.service }}:
123
consul.external_service:
@@ -129,3 +130,4 @@ consul-external-{{ service.service }}:
129
130
- pkg: python-requests
131
- service: consul
132
{% endfor %}
133
+{% endif %}
0 commit comments