X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Ftemplates%2Fssl-key-pins.erb;h=0b4b162b21309e28ed861451d7a4979dffa1746e;hb=a7016fcb7d27ba652c9bbcf800021000c2c17420;hp=c46111d8ccad01a55b2ec0703ce7eb4851ed8a35;hpb=843d7416696c2693410434a220900e88765e68bb;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/templates/ssl-key-pins.erb b/modules/apache2/templates/ssl-key-pins.erb index c46111d8c..0b4b162b2 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.each do |pinfile| site = File.basename(pinfile, '.pin') macros << make_pin_macro(site) end