Hi Christian,
The following manifests should achieve your goal:
package { 'redis':
> ensure => '6',
> provider => 'dnfmodule',
> enable_only => true
> }
or
ensure_packages( [‘redis’], { provider => dnfmodule, ensure =>
> '6', enable_only => true } )
We've managed to reproduce your is
Hi guys,
I'm using dnfmodule provider to enable a module on my CentOS 8 systems:
ensure_packages( ['redis:6'], { provider => dnfmodule, ensure => present,
enable_only => true } )
I would expect that this enables the module at first run and then it leaves
it untouched, but what I see at