From: Peter Palfrader Date: Sun, 18 Nov 2018 19:01:37 +0000 (+0100) Subject: try to sort pin files X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=839c8ea25d94aa887d71e46d150509ff4c339fac;p=mirror%2Fdsa-puppet.git try to sort pin files --- diff --git a/modules/apache2/templates/ssl-key-pins.erb b/modules/apache2/templates/ssl-key-pins.erb index c46111d8c..d9d878d0b 100644 --- a/modules/apache2/templates/ssl-key-pins.erb +++ b/modules/apache2/templates/ssl-key-pins.erb @@ -38,7 +38,7 @@ end macros = [] - Dir.glob("#{$cert_dir_le}/*.pin") do |pinfile| + Dir.glob("#{$cert_dir_le}/*.pin").sort do |pinfile| site = File.basename(pinfile, '.pin') macros << make_pin_macro(site) end