summaryrefslogtreecommitdiffstats
path: root/utils/src/ooinstall/utils.py
diff options
context:
space:
mode:
authorSteve Kuznetsov <skuznets@redhat.com>2017-04-13 08:56:22 -0400
committerSteve Kuznetsov <skuznets@redhat.com>2017-04-13 08:56:22 -0400
commit669c3c656d4783e07ebd3f7fa4cf6853449ff305 (patch)
tree17d76d1b198057a31df9b29d7602b0944d34934d /utils/src/ooinstall/utils.py
parent8515131a88fa3105ade6d209a84b5d6e9ef84e6d (diff)
downloadopenshift-669c3c656d4783e07ebd3f7fa4cf6853449ff305.tar.gz
openshift-669c3c656d4783e07ebd3f7fa4cf6853449ff305.tar.bz2
openshift-669c3c656d4783e07ebd3f7fa4cf6853449ff305.tar.xz
openshift-669c3c656d4783e07ebd3f7fa4cf6853449ff305.zip
Cast etcd_debug to a boolean
In the current implementation, any user-provided string in the `etcd_debug` variable will be placed into `etcd.conf`. The YAML and Ansible boolean parsing is more generous than the Golang one, so valid YAML booleans like `no` will be invalid when passed to etcd. Casting to a boolean before casting to a string normalizes the field. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Diffstat (limited to 'utils/src/ooinstall/utils.py')
0 files changed, 0 insertions, 0 deletions