diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-02-05 14:31:47 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2018-02-05 15:09:07 -0500 |
commit | 5402ff05c7f5695bbe60cb6966e57a038c4fe1c0 (patch) | |
tree | 5dfc6f4d0df5bd4d455a09efd1f3914bf76cf9d6 /roles/openshift_facts/library | |
parent | 90f577883066f7213afca2a1159c69cabece57dc (diff) | |
download | openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.gz openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.bz2 openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.xz openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.zip |
Initial support for 3.10
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 7 |
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' |