Skip to content

Commit 46bfe4b

Browse files
committed
Fix validation of $strict_variables
1 parent 33c4260 commit 46bfe4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/master.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
}
316316

317317
if $strict_variables != undef {
318-
validate_bool($strict_variables)
318+
validate_bool(str2bool($strict_variables))
319319
ini_setting {'puppetmasterstrictvariables':
320320
ensure => present,
321321
setting => 'strict_variables',

0 commit comments

Comments
 (0)