summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2017-06-26 15:13:25 -0600
committerRich Megginson <rmeggins@redhat.com>2017-06-27 08:24:09 -0600
commite6cfe56298b804839ddbcb091113584e7902bf76 (patch)
tree052ebf85f3ce36557c4d7303b3c2d0a73a303890
parent2d4c399cd6a909531aa07717ac60a07f0022df6d (diff)
downloadopenshift-e6cfe56298b804839ddbcb091113584e7902bf76.tar.gz
openshift-e6cfe56298b804839ddbcb091113584e7902bf76.tar.bz2
openshift-e6cfe56298b804839ddbcb091113584e7902bf76.tar.xz
openshift-e6cfe56298b804839ddbcb091113584e7902bf76.zip
Bug 1465168 - mux doesn't recognize ansible boolean parameters correctly
https://bugzilla.redhat.com/show_bug.cgi?id=1465168 The fix is to pass the value through the `lower` filter. The value is set in defaults/main.yaml so it should always have a value.
-rw-r--r--roles/openshift_logging_mux/templates/mux.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging_mux/templates/mux.j2 b/roles/openshift_logging_mux/templates/mux.j2
index 243698c6a..bd392c194 100644
--- a/roles/openshift_logging_mux/templates/mux.j2
+++ b/roles/openshift_logging_mux/templates/mux.j2
@@ -102,7 +102,7 @@ spec:
- name: USE_MUX
value: "true"
- name: MUX_ALLOW_EXTERNAL
- value: "{{ openshift_logging_mux_allow_external | default('false') }}"
+ value: "{{ openshift_logging_mux_allow_external | default('false') | lower }}"
- name: "BUFFER_QUEUE_LIMIT"
value: "{{ openshift_logging_mux_buffer_queue_limit }}"
- name: "BUFFER_SIZE_LIMIT"