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 56afcef commit 776d5d8Copy full SHA for 776d5d8
CHANGELOG.md
@@ -240,3 +240,7 @@
240
241
- Clean up docker tasks
242
- Fix debian init and client only config (thanks @groggemans)
243
+
244
+## v1.7.2 (UNRELEASED)
245
246
+- Conditionally include options and meta to avoid error when emtpy
templates/client.hcl.j2
@@ -27,6 +27,7 @@ client {
27
reserved_ports = "{{ nomad_reserved['ports'] }}"
28
}
29
30
+ {% if nomad_options -%}
31
options = {
32
{% for key, value in nomad_options.iteritems() %}
33
"{{ key }}" = "{{ value }}"
@@ -38,4 +39,5 @@ client {
38
39
40
{% endfor -%}
41
42
+ {% endif %}
43
0 commit comments