File tree Expand file tree Collapse file tree 6 files changed +21
-7
lines changed
pytest_fixtures/component Expand file tree Collapse file tree 6 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ def capsule_provisioning_rhel_content(
237237 assert task_status ['result' ] == 'success'
238238 rhel_xy = Version (
239239 constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } ' ]['version' ]
240- if rhel_ver = = 7
240+ if rhel_ver < = 7
241241 else constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } _bos' ]['version' ]
242242 )
243243 o_systems = sat .api .OperatingSystem ().search (
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def module_provisioning_rhel_content(
9898 assert task_status ['result' ] == 'success'
9999 rhel_xy = Version (
100100 constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } ' ]['version' ]
101- if rhel_ver = = 7
101+ if rhel_ver < = 7
102102 else constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } _bos' ]['version' ]
103103 )
104104 o_systems = sat .api .OperatingSystem ().search (
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def module_sync_kickstart_content(
9090 assert task_status ['result' ] == 'success'
9191 rhel_xy = Version (
9292 constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } ' ]['version' ]
93- if rhel_ver = = 7
93+ if rhel_ver < = 7
9494 else constants .REPOS ['kickstart' ][f'rhel{ rhel_ver } _bos' ]['version' ]
9595 )
9696 o_systems = module_target_sat .api .OperatingSystem ().search (
Original file line number Diff line number Diff line change 290290 'rhsc8' : 'Red Hat Satellite Capsule 6.16 for RHEL 8 x86_64 (RPMs)' ,
291291 'rhsc9' : 'Red Hat Satellite Capsule 6.16 for RHEL 9 x86_64 (RPMs)' ,
292292 'rhsc7_iso' : 'Red Hat Satellite Capsule 6.4 (for RHEL 7 Server) (ISOs)' ,
293+ 'rhsclient6' : 'Red Hat Satellite Client 6 (for RHEL 6 Server - ELS) (RPMs)' ,
293294 'rhsclient7' : 'Red Hat Satellite Client 6 (for RHEL 7 Server) (RPMs)' ,
294295 'rhsclient8' : 'Red Hat Satellite Client 6 for RHEL 8 x86_64 (RPMs)' ,
295296 'rhsclient9' : 'Red Hat Satellite Client 6 for RHEL 9 x86_64 (RPMs)' ,
433434 'id' : 'rhel-7-server-satellite-capsule-6.4-isos' ,
434435 'name' : ('Red Hat Satellite Capsule 6.4 for RHEL 7 Server ISOs x86_64' ),
435436 },
437+ 'rhsclient6' : {
438+ 'id' : 'rhel-6-server-els-satellite-client-6-rpms' ,
439+ 'name' : ('Red Hat Satellite Client 6 for RHEL 6 Server - ELS RPMs x86_64' ),
440+ 'version' : '6' ,
441+ 'reposet' : REPOSET ['rhsclient6' ],
442+ 'product' : PRDS ['rhel' ],
443+ 'distro' : 'rhel6' ,
444+ 'key' : PRODUCT_KEY_SAT_CLIENT ,
445+ },
436446 'rhsclient7' : {
437447 'id' : 'rhel-7-server-satellite-client-6-rpms' ,
438448 'name' : ('Red Hat Satellite Client 6 for RHEL 7 Server RPMs x86_64' ),
Original file line number Diff line number Diff line change @@ -1416,7 +1416,7 @@ def test_positive_remove_capsule_orphans(
14161416 'repos_collection' ,
14171417 [
14181418 {
1419- 'distro' : 'rhel9 ' ,
1419+ 'distro' : f'rhel { settings . content_host . default_rhel_version } ' ,
14201420 'YumRepository' : {'url' : settings .repos .yum_0 .url },
14211421 }
14221422 ],
@@ -1527,14 +1527,14 @@ def test_complete_sync_fixes_metadata(
15271527 'Expected to see the Capsule as the content source'
15281528 )
15291529
1530- result = rhel_contenthost .execute ('dnf repolist' )
1530+ result = rhel_contenthost .execute ('yum repolist' )
15311531 assert result .status == 0
15321532 assert repos_collection .setup_content_data ['repos' ][0 ].content_label in result .stdout
15331533
1534- result = rhel_contenthost .execute ('dnf install -y cheetah' ) # with dependencies
1534+ result = rhel_contenthost .execute ('yum install -y cheetah' ) # with dependencies
15351535 assert result .status == 0
15361536
1537- result = rhel_contenthost .execute ('dnf -y update' )
1537+ result = rhel_contenthost .execute ('yum -y update' )
15381538 assert result .status == 0
15391539
15401540 @pytest .mark .skip_if_not_set ('capsule' )
Original file line number Diff line number Diff line change 3131 'rhel9' : f'ak_{ gen_string ("alpha" )} _rhel9' ,
3232 'rhel8' : f'ak_{ gen_string ("alpha" )} _rhel8' ,
3333 'rhel7' : f'ak_{ gen_string ("alpha" )} _rhel7' ,
34+ 'rhel6' : f'ak_{ gen_string ("alpha" )} _rhel6' ,
3435}
3536cv_name = {
3637 'rhel9' : f'cv_{ gen_string ("alpha" )} _rhel9' ,
3738 'rhel8' : f'cv_{ gen_string ("alpha" )} _rhel8' ,
3839 'rhel7' : f'cv_{ gen_string ("alpha" )} _rhel7' ,
40+ 'rhel6' : f'cv_{ gen_string ("alpha" )} _rhel6' ,
3941}
4042profiles = {
4143 'rhel9' : OSCAP_PROFILE ['ospp8+' ],
4244 'rhel8' : OSCAP_PROFILE ['ospp8+' ],
4345 'rhel7' : OSCAP_PROFILE ['security7' ],
46+ 'rhel6' : OSCAP_PROFILE ['security6' ],
4447}
4548rhel_repos = {
4649 'rhel9' : settings .repos .rhel9_os ,
4750 'rhel8' : settings .repos .rhel8_os ,
4851 'rhel7' : settings .repos .rhel7_os ,
52+ 'rhel6' : settings .repos .rhel6_os ,
4953}
5054
5155
You can’t perform that action at this time.
0 commit comments