X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Ftemplates%2Fpuppet-config.erb;h=7c38884a56298168dfa75dad55af27164d44c213;hb=0e0adab173d5961a4e13fc4adae018a306f4b030;hp=55b216ee896c109b3e5558c41ab18f5be7c63b9c;hpb=297a242779e7169e0b078d8e25d7e16e6db6d640;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/templates/puppet-config.erb b/modules/apache2/templates/puppet-config.erb index 55b216ee8..7c38884a5 100644 --- a/modules/apache2/templates/puppet-config.erb +++ b/modules/apache2/templates/puppet-config.erb @@ -4,13 +4,13 @@ # this is a list that seems suitable as of 2014-10, when running wheezy. It # probably requires re-visiting regularly. - <% if @lsbmajdistrelease <= '7' -%> + <% if scope.call_function('versioncmp', [@lsbmajdistrelease, '7']) <= 0 -%> SSLCipherSuite ECDH+AESGCM:ECDH+AES256:ECDH+AES128:ECDH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!eNULL:!LOW:!MD5:!EXP:!RC4:!SEED:!DSS <% else -%> SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!eNULL:!LOW:!MD5:!EXP:!RC4:!SEED:!DSS <% end -%> - <%- if has_variable?("apache2deb9") && apache2deb9 == "true" -%> + <%- if has_variable?("apache2deb9") && @apache2deb9 -%> SSLUseStapling On # the default size is 32k, but we make it 1M. @@ -30,5 +30,5 @@ - IndexOptions +SuppressDescription + IndexOptions SuppressDescription