From 3b7c2765d39a7d5b2cce077e24bb1846a052caa2 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Fri, 13 Oct 2017 19:03:41 -0600 Subject: deploy containers to specific nodes --- salt/openbook/customer_web_ui/files/customer_web_ui.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'salt/openbook/customer_web_ui/files/customer_web_ui.json') diff --git a/salt/openbook/customer_web_ui/files/customer_web_ui.json b/salt/openbook/customer_web_ui/files/customer_web_ui.json index 67f4d26..1823237 100644 --- a/salt/openbook/customer_web_ui/files/customer_web_ui.json +++ b/salt/openbook/customer_web_ui/files/customer_web_ui.json @@ -1,8 +1,8 @@ { "log.path": "{{ pillar["customer_web_ui"]["log"] }}" {% raw %} -{% if "True" == openbook_install_customer_web_ui|string() %} - ,"application.port": {{ openbook_customer_web_ui_port|default("") }} +{% if "True" == openbook_install_customer_web_ui|string() and openbook_customer_web_ui_port is defined %} + ,"application.port": {{ openbook_customer_web_ui_port }} {% endif %} {% endraw %} } -- cgit v1.3