Project

General

Profile

« Previous | Next » 

Revision 6347fb11

Added by Ewoud Kohl van Wijngaarden about 7 years ago

Remove redundant directory definition

The standard puppetlabs-vhost already generates a directory location for
the docroot with a Require all granted. It also does the version logic
in puppet code resulting in a shorter config file.

View differences:

spec/classes/foreman_config_passenger_spec.rb
:keepalive => 'on',
:max_keepalive_requests => 100,
:keepalive_timeout => 5,
:custom_fragment => %r{^<Directory #{params[:app_root]}/public>$},
:custom_fragment => %r{^<Directory ~ #{params[:app_root]}/public/\(assets\|webpack\)>$},
})
end
......
:keepalive => 'on',
:max_keepalive_requests => 100,
:keepalive_timeout => 5,
:custom_fragment => %r{^<Directory #{params[:app_root]}/public>$},
:custom_fragment => %r{^<Directory ~ #{params[:app_root]}/public/\(assets\|webpack\)>$},
})
end
end

Also available in: Unified diff