Browse Source

Check for is_containerized value when setting binary locations.

Andrew Butcher 9 years ago
parent
commit
b8334348d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_facts/library/openshift_facts.py

+ 1 - 1
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'