Clean NameVirtualHost out from apache conf

NameVirtualHost has no effect.

Change-Id: I5349f7d47d64f66d9974e63f07f741f087cce39a
Closes-Bug: #1517886
This commit is contained in:
Michael Polenchuk 2015-11-24 18:45:41 +03:00 committed by Valyavskiy Viacheslav
parent c892d29196
commit ca06ea8c3c
1 changed files with 1 additions and 6 deletions

View File

@ -24,11 +24,6 @@ class osnailyfacter::apache (
$logrotate_rotate = '52',
) {
define apache_port {
apache::listen { $name: }
apache::namevirtualhost { "*:${name}": }
}
class { '::apache':
mpm_module => false,
default_vhost => false,
@ -39,7 +34,7 @@ class osnailyfacter::apache (
trace_enable => 'Off',
}
apache_port { $listen_ports: }
apache::listen { $listen_ports: }
# we need to override the logrotate file provided by apache to work around
# wsgi issues on the restart caused by logrotate.