You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 `dnf install` is working on both the cases 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]>
0 commit comments