Skip to content

Commit

Permalink
don't change config on empty white list
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Aug 12, 2019
1 parent 3a16b73 commit 834e2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/conf/zoo.cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ kerberos.removeRealmFromPrincipal=true
<% end -%>
<% end -%>

<% if scope.lookupvar("zookeeper::whitelist_4lw") -%>
<% unless scope.lookupvar("zookeeper::whitelist_4lw").empty? -%>
# Supported since 3.4.10
4lw.commands.whitelist=<%= scope.lookupvar("zookeeper::whitelist_4lw").join(',') %>
<% end -%>

0 comments on commit 834e2dd

Please sign in to comment.