Removed useless require variables from apache module

This commit is contained in:
Ossi Salmi 2012-12-05 20:28:37 +02:00
parent cb47fe7e85
commit 3071640518
3 changed files with 0 additions and 14 deletions

View file

@ -319,8 +319,6 @@ define apache::debian::configfile($source, $content, $http, $https) {
# $content: # $content:
# Content for optional module configuration. # Content for optional module configuration.
# See also $source. # See also $source.
# $require:
# Dependencies for the module file.
# #
define apache::debian::a2enmod($source="", $content="") { define apache::debian::a2enmod($source="", $content="") {

View file

@ -322,8 +322,6 @@ define apache::sslsite($ipaddr="_default_", $root="", $ssl_cert="", $ssl_key="",
# if neither $source nor $content is defined. # if neither $source nor $content is defined.
# $content: # $content:
# Config file content. See also $source. # Config file content. See also $source.
# $require:
# Dependencies for the config file.
# $http: # $http:
# Set to false to disable config on http server. # Set to false to disable config on http server.
# $https: # $https:

View file

@ -345,11 +345,6 @@ define apache::redhat::configfile($source, $content, $http, $https) {
source => "/etc/httpd/conf.d/${name}", source => "/etc/httpd/conf.d/${name}",
} }
} }
if $require {
File["/etc/httpd/conf.http.d/${name}"] {
require => $require,
}
}
} }
if defined(Class["apache::sslserver"]) { if defined(Class["apache::sslserver"]) {
@ -378,11 +373,6 @@ define apache::redhat::configfile($source, $content, $http, $https) {
source => "/etc/httpd/conf.d/${name}", source => "/etc/httpd/conf.d/${name}",
} }
} }
if $require {
File["/etc/httpd/conf.https.d/${name}"] {
require => $require,
}
}
} }
} }