| Puppet Version: 7.21.0 Puppet Server Version: 7.12 OS Name/Version: AlmaLinux 9 NVidia has a module stream named `latest` which I'd like to use. The documentation the `dnfmodule` provide indicates I should set the target stream under the `ensure` property. Which as you'd expect makes things a bit weird. Their repo contains a stream called `latest-dkms` which ends up getting targeted instead as the `ensure` is omitted. Describe steps to reproduce… Add yum repo : https://developer.download.nvidia.com/compute/cuda/repos/rhel$releasever/$basearch/ ``` puppet apply -e " package {'nvidia-driver': ensure => 'latest', flavor => 'fm', provider => 'dnfmodule', } " dnf module list ``` Desired Behavior: Some sort of way to target the stream named "latest" Actual Behavior: Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue. Examples: Run puppet agent with --test --trace --debug ``` Info: Using environment 'production' Info: Applying configuration version '1674582424' Debug: Prefetching dnfmodule resources for package Debug: Executing: '/usr/bin/dnf --version' Debug: Executing: '/usr/bin/dnf module list -d 0 -e 1' Debug: Executing: '/usr/bin/dnf module list -d 0 -e 1' Debug: Executing: '/usr/bin/dnf module install -d 0 -e 1 -y nvidia-driver/fm' Notice: /Stage[main]/Main/Package[nvidia-driver]/ensure: created Debug: /Package[nvidia-driver]: The container Class[Main] will propagate my refresh event Debug: Class[Main]: The container Stage[main] will propagate my refresh event Debug: Finishing transaction 11940 Debug: Storing state Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml Debug: Pruned old state cache entries in 0.00 seconds Debug: Stored state in 0.00 seconds Notice: Applied catalog in 97.96 seconds ``` |