view modules/apache/templates/vhost/_error_document.erb @ 0:956e484adc12

Initial public release of Puppet configs
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Aug 2014 19:47:38 +0000
parents
children
line wrap: on
line source

<% if @error_documents and ! @error_documents.empty? -%>
  <%- [@error_documents].flatten.compact.each do |error_document| -%>
    <%- if error_document["error_code"] != '' and error_document["document"] != '' -%>
  ErrorDocument <%= error_document["error_code"] %> <%= error_document["document"] %>
    <%- end -%>
  <%- end -%>
<% end -%>