From 56dacefcb2c08482f6156e45a56d88246953616d Mon Sep 17 00:00:00 2001 From: Ryan Faircloth <35384120+rfaircloth-splunk@users.noreply.github.com> Date: Mon, 27 Jul 2020 21:58:15 -0400 Subject: [PATCH] Fix issue in goss template for TLS (#588) * Don't use cache on publish * Goss should only check the TLS port when enabled --- package/goss.yaml.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/goss.yaml.tmpl b/package/goss.yaml.tmpl index fa08845..5b1f4c0 100644 --- a/package/goss.yaml.tmpl +++ b/package/goss.yaml.tmpl @@ -18,7 +18,9 @@ port: listening: true ip: - 0.0.0.0 +{{- if (conv.ToBool (getenv "SC4S_SOURCE_TLS_ENABLE" "no")) }} tcp:{{- getenv "SC4S_LISTEN_DEFAULT_TLS_PORT" "6514" }}: listening: true ip: - 0.0.0.0 +{{- end}}