summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-11-30 13:28:29 -0500
committerScott Dodson <sdodson@redhat.com>2017-11-30 15:38:41 -0500
commit2c65e694ba24d14aa16c2b3de5e8f463f0359135 (patch)
treebf9283d2c706be4769648b93662d5ef26be77aae /roles/openshift_facts
parent6b6b422245be79dd3eec0c93a58875c646bbfba7 (diff)
downloadopenshift-2c65e694ba24d14aa16c2b3de5e8f463f0359135.tar.gz
openshift-2c65e694ba24d14aa16c2b3de5e8f463f0359135.tar.bz2
openshift-2c65e694ba24d14aa16c2b3de5e8f463f0359135.tar.xz
openshift-2c65e694ba24d14aa16c2b3de5e8f463f0359135.zip
Add v3.9 support
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 bbcdbadd8..a5d90d602 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -761,16 +761,21 @@ def set_version_facts_if_unset(facts):
version_gte_3_6 = version >= LooseVersion('3.6')
version_gte_3_7 = version >= LooseVersion('3.7')
version_gte_3_8 = version >= LooseVersion('3.8')
+ version_gte_3_9 = version >= LooseVersion('3.9')
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
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
- if version_gte_3_8:
+ if version_gte_3_9:
+ examples_content_version = 'v3.9'
+ elif version_gte_3_8:
examples_content_version = 'v3.8'
elif version_gte_3_7:
examples_content_version = 'v3.7'