Skip to content

Commit 21a7191

Browse files
author
Morgan Haskel
committed
Merge pull request #245 from hunner/pe32
(MODULES-1796) Fix stdlib 3.2.0 compatibility
2 parents 4acfa3b + 655d966 commit 21a7191

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

manifests/params.pp

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
$disable_auth = false
1919
$broadcastclient = false
2020

21-
# On virtual machines allow large clock skews.
22-
$panic = str2bool($::is_virtual) ? {
23-
true => false,
21+
# On virtual machines allow large clock skews.
22+
# TODO Change this to str2bool($::is_virtual) when stdlib dependency is >= 4.0.0
23+
# NOTE The "x${var}" is just to avoid lint quoted variable warning.
24+
$panic = "x${::is_virtual}" ? {
25+
'xtrue' => false,
2426
default => true,
2527
}
2628

0 commit comments

Comments
 (0)