Remove redundant include of apache::mod::*
The puppetlabs-apache module includes the classes for required modules automatically based on the parameters used in apache::vhost. apache::mod::wsgi https://github.com/puppetlabs/puppetlabs-apache/commit/efffa854f (available since 1.1.0) apache::mod::ssl https://github.com/puppetlabs/puppetlabs-apache/commit/ee37f2146 (available since 0.3.0) Change-Id: I6fd1ba6b721940ff96f977782e1e15df6191413d
This commit is contained in:
parent
ba19e6dbd3
commit
22ed18fff4
|
@ -287,10 +287,6 @@ define openstacklib::wsgi::apache (
|
|||
) {
|
||||
|
||||
include apache
|
||||
include apache::mod::wsgi
|
||||
if $ssl {
|
||||
include apache::mod::ssl
|
||||
}
|
||||
|
||||
# Ensure there's no trailing '/' except if this is also the only character
|
||||
$path_real = regsubst($path, '(^/.*)/$', '\1')
|
||||
|
|
|
@ -45,7 +45,6 @@ describe 'openstacklib::wsgi::apache' do
|
|||
it {
|
||||
should contain_service('httpd').with_name(platform_params[:httpd_service_name])
|
||||
should contain_class('apache')
|
||||
should contain_class('apache::mod::wsgi')
|
||||
}
|
||||
|
||||
context 'with default parameters' do
|
||||
|
|
Loading…
Reference in New Issue