-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] RHEL module stream named latest-kmod
#7
Comments
Hi @jcpunk I see that Puppet has a dnfmodule provider. Have you looked at the ensure attribute (equiv to DNF module stream) and flavor attribute (equiv to DNF module profile) {name: "nvidia-driver", ensure: "latest-dkms", flavor: "default", provider: :dnfmodule} An alternative option could be Kickstart, which is "modules"-aware, see: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#kickstart-installation %packages
@^Minimal Install
@nvidia-driver:latest-dkms
%end |
Alas, I'm trying to get the kmod stream and not the dkms one. With the To be clear, I'm not asking to change the default stream. Quick replication: puppet apply -e "
package
{'nvidia-driver': ensure => 'latest', flavor => 'fm', provider => 'dnfmodule', }
dnf module list
" |
Ohhh, I see. Because the string "latest" already has a special meaning to Puppet's Hmm I wonder if that was intentional or something missed in this pull request. Trying to jog my memory. I seem to recall a correspondence about kmod packages for So what I'm trying to ask is are these precompiled kmod packages coming from the CUDA repo or are they DIY using the .spec file in this (or related) GitHub repository ? If they are DIY, then presumably you would already be generating your own modules YAML, in which case, the simplest option would be to add a CLI flag to genmodules.yaml to alter the On the other hand, if you are simply consuming the CUDA repo packages and metadata as-is, then ...
So I think going to need to mull this around some more and maybe see if there is any response on the Puppet ticket you filed. |
Sounds good.
I am consuming the official repos directly.
And yep, I am one of the folks who occasionally works on out of stream stuff. :)
|
My config management utility (
puppet
) is unable to distinguish between the module stream namedlatest
and finding the most recent module stream ("latest"). On some hosts it picks up thedkms
stream and on others thekmod
stream, depending on when exactly it was run.Can there be a stream named
latest-kmod
added so it is both explicit and something I can target?The text was updated successfully, but these errors were encountered: