summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-06 21:53:36 -0500
committerGitHub <noreply@github.com>2018-02-06 21:53:36 -0500
commit4829d3b280801ae4b8530d2de29fdcf5328e26cb (patch)
treee898397bb84473626918e4731f9cb7a52c57f5d2 /roles/openshift_facts
parent9cdf6e8a3dc1d4ff399e3d85fe7e8b6d38ab92a4 (diff)
parent5402ff05c7f5695bbe60cb6966e57a038c4fe1c0 (diff)
downloadopenshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.gz
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.bz2
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.xz
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.zip
Merge pull request #7015 from sdodson/v310
Initial support for 3.10
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 452cc4ef6..11a51b6bb 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -564,18 +564,23 @@ def set_version_facts_if_unset(facts):
version_gte_3_7 = version >= LooseVersion('3.7')
version_gte_3_8 = version >= LooseVersion('3.8')
version_gte_3_9 = version >= LooseVersion('3.9')
+ version_gte_3_10 = version >= LooseVersion('3.10')
else:
# 'Latest' version is set to True, 'Next' versions set to False
version_gte_3_6 = True
version_gte_3_7 = True
version_gte_3_8 = False
version_gte_3_9 = False
+ version_gte_3_10 = False
facts['common']['version_gte_3_6'] = version_gte_3_6
facts['common']['version_gte_3_7'] = version_gte_3_7
facts['common']['version_gte_3_8'] = version_gte_3_8
facts['common']['version_gte_3_9'] = version_gte_3_9
+ facts['common']['version_gte_3_10'] = version_gte_3_10
- if version_gte_3_9:
+ if version_gte_3_10:
+ examples_content_version = 'v3.10'
+ elif version_gte_3_9:
examples_content_version = 'v3.9'
elif version_gte_3_8:
examples_content_version = 'v3.8'