Skip to content

Commit

Permalink
fix is_a condition
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Feb 24, 2014
1 parent 23a20d3 commit afc32e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/ssh_config.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File managed by Puppet

<%- scope.lookupvar('ssh::client::merged_options').each do |k, v| -%>
<%- if v.is_a(Hash) -%>
<%- if v.is_a?(Hash) -%>
<%= k %>
<%- v.each do |key, value| -%>
<%= key %> <%= value %>
Expand Down
2 changes: 1 addition & 1 deletion templates/sshd_config.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File is managed by Puppet

<%- scope.lookupvar('ssh::server::merged_options').each do |k, v| -%>
<%- if v.is_a(Hash) -%>
<%- if v.is_a?(Hash) -%>
<%= k %>
<%- v.each do |key, value| -%>
<%= key %> <%= value %>
Expand Down

0 comments on commit afc32e5

Please sign in to comment.