Fix invalid syntax

Change-Id: I749a4fcf0036f8f8501643f3e1c77e035d75868f
diff --git a/jenkins/client/node.sls b/jenkins/client/node.sls
index be7667d..35e43a3 100644
--- a/jenkins/client/node.sls
+++ b/jenkins/client/node.sls
@@ -17,7 +17,7 @@
     - node_mode: {{ node.get('node_mode','Normal') }}
     - ret_strategy: {{ node.get('ret_strategy','Always') }}
     - labels: {{ node.get('labels',[]) }}
-{% endfor %}
+{% endif %}
 
 {% for node_name, label in client.get("label",{}).iteritems() %}
 label_for_{{ node_name }}:
@@ -26,3 +26,4 @@
     - lbl_text: {{ label.lbl_text }}
     - append: {{ label.get('append', False) }}
 {% endfor %}
+{%- endfor %}