Skip to content

Commit 63e9454

Browse files
author
sanfrancrisko
authored
Merge pull request #1024 from puppetlabs/depmod-not-found-on-rocky
install module-init-tools on pre_setup step
2 parents 0c51e18 + 25adca8 commit 63e9454

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/spec_helper_acceptance_local.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def iptables_version
4141

4242
def pre_setup
4343
LitmusHelper.instance.run_shell('mkdir -p /lib/modules/`uname -r`')
44+
LitmusHelper.instance.run_shell('yum install module-init-tools -y') if fetch_os_name == 'rocky'
4445
LitmusHelper.instance.run_shell('depmod -a')
4546
end
4647

0 commit comments

Comments
 (0)