diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-03-02 22:08:28 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-03-02 23:49:22 -0500 |
commit | b8334348d07473c426cb1441ffbddbf743b352b1 (patch) | |
tree | 5bc4c5061794ed1d25057fbcf6a6557f24c6627b /roles/openshift_facts | |
parent | 7874cd4a233669fa86f20f05bc3cd199d8b87935 (diff) | |
download | openshift-b8334348d07473c426cb1441ffbddbf743b352b1.tar.gz openshift-b8334348d07473c426cb1441ffbddbf743b352b1.tar.bz2 openshift-b8334348d07473c426cb1441ffbddbf743b352b1.tar.xz openshift-b8334348d07473c426cb1441ffbddbf743b352b1.zip |
Check for is_containerized value when setting binary locations.
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 0f25881f1..7b2715bb0 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1090,7 +1090,7 @@ def set_container_facts_if_unset(facts): if 'ovs_image' not in facts['node']: facts['node']['ovs_image'] = ovs_image - if facts['common']['is_containerized']: + if bool(strtobool(str(facts['common']['is_containerized']))): facts['common']['admin_binary'] = '/usr/local/bin/oadm' facts['common']['client_binary'] = '/usr/local/bin/oc' |