From 3fe49d0485a5eb1b6f1a499dfd3ccd12913539dd Mon Sep 17 00:00:00 2001 From: "Angel L. Mateo" Date: Thu, 27 Feb 2014 13:22:40 +0100 Subject: [PATCH] Finish Release-1 --- templates/ssh_config.erb | 4 ++-- templates/sshd_config.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/ssh_config.erb b/templates/ssh_config.erb index cf4703bc0..9bb8bc69a 100644 --- a/templates/ssh_config.erb +++ b/templates/ssh_config.erb @@ -1,9 +1,9 @@ # File managed by Puppet -<%- scope.lookupvar('ssh::client::merged_options').each do |k, v| -%> +<%- scope.lookupvar('ssh::client::merged_options').sort.each do |k, v| -%> <%- if v.is_a?(Hash) -%> <%= k %> -<%- v.each do |key, value| -%> +<%- v.sort.each do |key, value| -%> <%- if value.is_a?(Array) -%> <%- value.each do |a| -%> <%= key %> <%= a %> diff --git a/templates/sshd_config.erb b/templates/sshd_config.erb index 1fcd20944..b1adfbee6 100644 --- a/templates/sshd_config.erb +++ b/templates/sshd_config.erb @@ -1,9 +1,9 @@ # File is managed by Puppet -<%- scope.lookupvar('ssh::server::merged_options').each do |k, v| -%> +<%- scope.lookupvar('ssh::server::merged_options').sort.each do |k, v| -%> <%- if v.is_a?(Hash) -%> <%= k %> -<%- v.each do |key, value| -%> +<%- v.sort.each do |key, value| -%> <%- if value.is_a?(Array) -%> <%- value.each do |a| -%> <%= key %> <%= a %>