Skip to content

Commit

Permalink
Merge pull request redhat-openstack#28 from cruisibesarescondev/patch-1
Browse files Browse the repository at this point in the history
Make logic explicit in template.
  • Loading branch information
saz committed Mar 13, 2014
2 parents 1db972b + 6338f97 commit 096184b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/sshd_config.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File is managed by Puppet

<%- scope.lookupvar('ssh::server::merged_options').sort_by{ |sk, sv| sk.to_s.downcase.include? "match" ? sk.to_s : '' }.each do |k, v| -%>
<%- scope.lookupvar('ssh::server::merged_options').sort_by{ |sk, sv| (sk.to_s.downcase.include? "match" )? sk.to_s : '' }.each do |k, v| -%>
<%- if v.is_a?(Hash) -%>
<%= k %>
<%- v.sort.each do |key, value| -%>
Expand Down

0 comments on commit 096184b

Please sign in to comment.