Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: ssh::client: order by host name with puppetdb as well
......................................................................


ssh::client: order by host name with puppetdb as well

Change-Id: I47d1f6492f02b38765cbd040acd0a5710bef69e6
---
M modules/ssh/templates/known_hosts.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ssh/templates/known_hosts.erb 
b/modules/ssh/templates/known_hosts.erb
index 304e7ad..799114a 100644
--- a/modules/ssh/templates/known_hosts.erb
+++ b/modules/ssh/templates/known_hosts.erb
@@ -1,6 +1,6 @@
 # This file is managed by puppet
 <%-
-scope.function_query_resources([false, '@@Sshkey', false]).each do |resource|
+scope.function_query_resources([false, '@@Sshkey', false, 'title asc']).each 
do |resource|
   parameters = resource['parameters']
   aliases = parameters['host_aliases'].select{ |el| el !~ /^---/}.join(',')
   if parameters['ensure'] == 'present' -%>

-- 
To view, visit https://gerrit.wikimedia.org/r/311424
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I47d1f6492f02b38765cbd040acd0a5710bef69e6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to