1 parent 8718b7a commit 49b9384Copy full SHA for 49b9384
1 file changed
manifests/dnfmodule.pp
@@ -9,6 +9,9 @@
9
Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $ensure = 'installed',
10
String[1] $module = 'postgresql',
11
) {
12
+ if $facts['os']['release']['major'] == '10' {
13
+ fail('DNF modules are not supported on EL 10')
14
+ }
15
package { 'postgresql dnf module':
16
ensure => $ensure,
17
name => $module,
0 commit comments