Project

General

Profile

« Previous | Next » 

Revision c62fcb8a

Added by Ewoud Kohl van Wijngaarden over 10 years ago

Change from theforeman/apache to puppetlabs/apache

View differences:

templates/foreman-apache.conf.erb
<%= ERB.new(File.read(File.expand_path("_header.erb",File.dirname(file)))).result(binding) -%>
DocumentRoot <%= scope.lookupvar 'foreman::app_root' %>/public
PassengerAppRoot <%= scope.lookupvar 'foreman::app_root' %>
<% if @scl_prefix and !@scl_prefix.empty? -%>
PassengerRuby /usr/bin/<%= @scl_prefix -%>-ruby
<% end -%>
AddDefaultCharset UTF-8
DocumentRoot <%= @docroot %>
<%= scope.function_template(['foreman/apache-fragment.conf.erb']) -%>
<%= scope.function_template(['foreman/_assets.conf.erb']) %>

Also available in: Unified diff