Skip to content

Commit f82a3f2

Browse files
authored
Merge pull request #653 from quentins/fixup-registry-syntax
Fix syntax for puppet 4 support
2 parents f0869b3 + 2d84b3c commit f82a3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/registry.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
$_local_user_home = $local_user_home
6969
} else {
7070
# set sensible default
71-
$_local_user_home = $local_user == 'root' ? {
71+
$_local_user_home = ($local_user == 'root') ? {
7272
true => '/root',
7373
default => "/home/${local_user}",
7474
}

0 commit comments

Comments
 (0)