view modules/apache/templates/vhost/_setenv.erb @ 482:d83de9b3a62b default tip

Update hiera.yaml within Puppet config Forgot that we manage it from here. Now has content to match new packages
author IBBoard <dev@ibboard.co.uk>
date Fri, 30 Aug 2024 16:10:36 +0100
parents b8d6ada284dd
children
line wrap: on
line source

<% unless @setenv.empty? -%>

  ## SetEnv/SetEnvIf for environment variables
  <%- Array(@setenv).each do |envvar| -%>
  SetEnv <%= envvar %>
  <%- end -%>
<% end -%>
<% unless @setenvif.empty? -%>
  <%- Array(@setenvif).each do |envifvar| -%>
  SetEnvIf <%= envifvar %>
  <%- end -%>
<% end -%>
<% unless @setenvifnocase.empty? -%>
  <%- Array(@setenvifnocase).each do |envifncvar| -%>
  SetEnvIfNoCase <%= envifncvar %>
  <%- end -%>
<% end -%>