Skip to content

Commit b0cc204

Browse files
committed
Fix validation of $strict_variables
1 parent 7be09f1 commit b0cc204

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)