Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix kernel-devel package name for rhel8
When using `wget`, the package name must contain the architecture too. By redefining the `kernel_source_package_version` we're avoiding to `chomp` the architecture from kernel version. Then, use `node['kernel']['machine']` rather than `uname -m`. ### Tests Verified that both `dnf install` and `wget` commands are working when passing architecture. ### References * https://github.com/chef/ohai/blob/17-stable/lib/ohai/plugins/kernel.rb#L34 Signed-off-by: Enrico Usai <[email protected]>
- Loading branch information