Giuseppe Lavagetto has uploaded a new change for review. https://gerrit.wikimedia.org/r/311424
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(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/24/311424/1 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: newchange Gerrit-Change-Id: I47d1f6492f02b38765cbd040acd0a5710bef69e6 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits