Skip to content

Commit afc32e5

Browse files
committed
fix is_a condition
1 parent 23a20d3 commit afc32e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

templates/ssh_config.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File managed by Puppet
22

33
<%- scope.lookupvar('ssh::client::merged_options').each do |k, v| -%>
4-
<%- if v.is_a(Hash) -%>
4+
<%- if v.is_a?(Hash) -%>
55
<%= k %>
66
<%- v.each do |key, value| -%>
77
<%= key %> <%= value %>

templates/sshd_config.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File is managed by Puppet
22

33
<%- scope.lookupvar('ssh::server::merged_options').each do |k, v| -%>
4-
<%- if v.is_a(Hash) -%>
4+
<%- if v.is_a?(Hash) -%>
55
<%= k %>
66
<%- v.each do |key, value| -%>
77
<%= key %> <%= value %>

0 commit comments

Comments
 (0)