We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a9e66 commit 4b949d3Copy full SHA for 4b949d3
manifests/config.pp
@@ -29,13 +29,8 @@
29
$_config = $config
30
}
31
32
- $ensure_unsafe_registration = $unsafe_registration ? {
33
- true => present,
34
- false => absent,
35
- }
36
-
37
ini_setting { "${config_file} register-unsafely-without-email true":
38
- ensure => $ensure_unsafe_registration,
+ ensure => bool2str($unsafe_registration, 'present', 'absent'),
39
path => $config_file,
40
section => '',
41
setting => 'register-unsafely-without-email',
0 commit comments