106 |
$location = '/dev/null', |
$location = '/dev/null', |
107 |
$use_ssl = false, |
$use_ssl = false, |
108 |
$vhost = false, |
$vhost = false, |
109 |
|
$aliases = {}, |
110 |
$enable_public_html = false) { |
$enable_public_html = false) { |
111 |
if ! $vhost { |
if ! $vhost { |
112 |
$real_vhost = $name |
$real_vhost = $name |
173 |
} |
} |
174 |
} |
} |
175 |
|
|
176 |
define vhost_wsgi($wsgi_path, $aliases = false) { |
define vhost_wsgi($wsgi_path, $aliases = {}) { |
177 |
include apache::mod_wsgi |
include apache::mod_wsgi |
178 |
file { "$name.conf": |
file { "$name.conf": |
179 |
path => "/etc/httpd/conf/vhosts.d/$name.conf", |
path => "/etc/httpd/conf/vhosts.d/$name.conf", |