]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/apache/templates/vhost/_setenv.erb
add Openstack modules to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / apache / templates / vhost / _setenv.erb
diff --git a/3rdparty/modules/apache/templates/vhost/_setenv.erb b/3rdparty/modules/apache/templates/vhost/_setenv.erb
new file mode 100644 (file)
index 0000000..ce1fa95
--- /dev/null
@@ -0,0 +1,12 @@
+<% if @setenv and ! @setenv.empty? -%>
+
+  ## SetEnv/SetEnvIf for environment variables
+  <%- Array(@setenv).each do |envvar| -%>
+  SetEnv <%= envvar %>
+  <%- end -%>
+<% end -%>
+<% if @setenvif and ! @setenvif.empty? -%>
+  <%- Array(@setenvif).each do |envifvar| -%>
+  SetEnvIf <%= envifvar %>
+  <%- end -%>
+<% end -%>