Skip to content

Commit 05056e9

Browse files
author
Martin Alfke
committed
Selector needs multiple checks in brackets.
fixes https://tickets.puppetlabs.com/browse/MODULES-10960
1 parent 4426c1d commit 05056e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/user.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
true => undef,
292292
default => $password,
293293
}
294-
$_purge_sshkeys = $purge_sshkeys and $sshkey_custom_path != undef ? {
294+
$_purge_sshkeys = ($purge_sshkeys and $sshkey_custom_path != undef) ? {
295295
true => [String($sshkey_custom_path)],
296296
default => $purge_sshkeys,
297297
}

0 commit comments

Comments
 (0)