Skip to content

Commit

Permalink
Merge pull request redhat-openstack#35 from TelekomCloud/fix/address_…
Browse files Browse the repository at this point in the history
…family

Bug: AddressFamily must be specified before ListenAddress
  • Loading branch information
saz committed Apr 25, 2014
2 parents a538ca2 + b0a314d commit e5f9cec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/sshd_config.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# File is managed by Puppet
<%- options = scope.lookupvar('ssh::server::merged_options') -%>
<%- if addressfamily = options.delete('AddressFamily') -%>
AddressFamily <%= addressfamily %>
<%- end -%>
<%- if port = options.delete('Port') -%>
<%- if port.is_a?(Array) -%>
<%- port.each do |p| -%>
Expand Down

0 comments on commit e5f9cec

Please sign in to comment.