Skip to content

Commit

Permalink
Merge pull request #653 from quentins/fixup-registry-syntax
Browse files Browse the repository at this point in the history
Fix syntax for puppet 4 support
  • Loading branch information
adrianiurca committed Aug 20, 2020
2 parents f0869b3 + 2d84b3c commit f82a3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/registry.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
$_local_user_home = $local_user_home
} else {
# set sensible default
$_local_user_home = $local_user == 'root' ? {
$_local_user_home = ($local_user == 'root') ? {
true => '/root',
default => "/home/${local_user}",
}
Expand Down

0 comments on commit f82a3f2

Please sign in to comment.