summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-11 15:45:52 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-11 15:50:40 -0500
commit81345f2ee5365708a3895f182645c42f2ee0efac (patch)
treed7d23cf0c77ed21ca9e3ca71f5ba002b24b00d36 /roles/openshift_facts
parent047c771ad882242774ceb971c02e82d1ca2cea15 (diff)
downloadopenshift-81345f2ee5365708a3895f182645c42f2ee0efac.tar.gz
openshift-81345f2ee5365708a3895f182645c42f2ee0efac.tar.bz2
openshift-81345f2ee5365708a3895f182645c42f2ee0efac.tar.xz
openshift-81345f2ee5365708a3895f182645c42f2ee0efac.zip
conditionalize loopback config on v >= 3.2/1.2
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 8707417d1..85d32fd8c 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -737,9 +737,9 @@ def set_version_facts_if_unset(facts):
version_gte_3_1_1_or_1_1_1 = LooseVersion(version) >= LooseVersion('1.1.1')
version_gte_3_2_or_1_2 = LooseVersion(version) >= LooseVersion('1.1.2')
else:
- version_gte_3_1_or_1_1 = LooseVersion(version) >= LooseVersion('3.1.0')
+ version_gte_3_1_or_1_1 = LooseVersion(version) >= LooseVersion('3.0.2.905')
version_gte_3_1_1_or_1_1_1 = LooseVersion(version) >= LooseVersion('3.1.1')
- version_gte_3_2_or_1_2 = LooseVersion(version) >= LooseVersion('3.2.0')
+ version_gte_3_2_or_1_2 = LooseVersion(version) >= LooseVersion('3.1.1.901')
else:
version_gte_3_1_or_1_1 = True
version_gte_3_1_1_or_1_1_1 = True