diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-02 12:13:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-02 12:13:01 -0500 |
commit | b62ec2d2e587e55efca930c7919dfe31d3d45edb (patch) | |
tree | 90cb1467ae2426de3ade920cdbf1361e721dc887 /roles/openshift_facts/library | |
parent | 1ad7deec985e0409dbd5c2960c7091a6d99aeff9 (diff) | |
parent | 2c65e694ba24d14aa16c2b3de5e8f463f0359135 (diff) | |
download | openshift-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-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 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' |