File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 26
26
"operatingsystem" : " CentOS" ,
27
27
"operatingsystemrelease" : [
28
28
" 7" ,
29
- " 8"
29
+ " 8" ,
30
+ " 9"
30
31
]
31
32
},
32
33
{
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def iptables_version
42
42
def pre_setup
43
43
LitmusHelper . instance . run_shell ( 'mkdir -p /lib/modules/`uname -r`' )
44
44
LitmusHelper . instance . run_shell ( 'yum install module-init-tools -y' ) if fetch_os_name == 'rocky'
45
+ LitmusHelper . instance . run_shell ( 'dnf install -y kmod' ) if fetch_os_name == 'centos' && fetch_os_version == '9'
45
46
LitmusHelper . instance . run_shell ( 'depmod -a' )
46
47
end
47
48
@@ -54,6 +55,10 @@ def fetch_os_name
54
55
@fetch_os_name ||= LitmusHelper . instance . run_shell ( 'facter os.name' ) . stdout . delete ( "\n " ) . downcase
55
56
end
56
57
58
+ def fetch_os_version
59
+ @fetch_os_name ||= LitmusHelper . instance . run_shell ( 'facter os.release.full' ) . stdout . delete ( "\n " )
60
+ end
61
+
57
62
RSpec . configure do |c |
58
63
# This flag is disabling test 'condition' from firewall_attributes_exceptions
59
64
# because this test is failing on docker containers, but it's compatible with vmpooler machines
You can’t perform that action at this time.
0 commit comments