File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2626 "operatingsystem" : " CentOS" ,
2727 "operatingsystemrelease" : [
2828 " 7" ,
29- " 8"
29+ " 8" ,
30+ " 9"
3031 ]
3132 },
3233 {
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def iptables_version
4242def pre_setup
4343 LitmusHelper . instance . run_shell ( 'mkdir -p /lib/modules/`uname -r`' )
4444 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'
4546 LitmusHelper . instance . run_shell ( 'depmod -a' )
4647end
4748
@@ -54,6 +55,10 @@ def fetch_os_name
5455 @fetch_os_name ||= LitmusHelper . instance . run_shell ( 'facter os.name' ) . stdout . delete ( "\n " ) . downcase
5556end
5657
58+ def fetch_os_version
59+ @fetch_os_name ||= LitmusHelper . instance . run_shell ( 'facter os.release.full' ) . stdout . delete ( "\n " )
60+ end
61+
5762RSpec . configure do |c |
5863 # This flag is disabling test 'condition' from firewall_attributes_exceptions
5964 # 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