summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-02 12:13:01 -0500
committerGitHub <noreply@github.com>2017-12-02 12:13:01 -0500
commitb62ec2d2e587e55efca930c7919dfe31d3d45edb (patch)
tree90cb1467ae2426de3ade920cdbf1361e721dc887 /roles/openshift_facts/library
parent1ad7deec985e0409dbd5c2960c7091a6d99aeff9 (diff)
parent2c65e694ba24d14aa16c2b3de5e8f463f0359135 (diff)
downloadopenshift-b62ec2d2e587e55efca930c7919dfe31d3d45edb.tar.gz
openshift-b62ec2d2e587e55efca930c7919dfe31d3d45edb.tar.bz2
openshift-b62ec2d2e587e55efca930c7919dfe31d3d45edb.tar.xz
openshift-b62ec2d2e587e55efca930c7919dfe31d3d45edb.zip
Merge pull request #6321 from sdodson/v3_9
Add v3.9 support
Diffstat (limited to 'roles/openshift_facts/library')
-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'