4b1a790959
* New task to deploy Apache and configure MPM * Run keystone as Apache vhost * Pull wsgi threads and priority configuration from upstream change-id: Ib05ac81381e169845b44b2ef7cb810a4d5db17de * Pull custom file source for wsgi scripts from upstream change-id: I941bf8804982e9081812e076f7a736f413220047 * Fix for keystone spec tests (use concat 1.2.1 in fixtures) * Use keystone.py wsgi script from packages instead of downloading it from puppet module. Requires deb package with this patch: https://review.fuel-infra.org/6251 Until it's megred, we'll use upstream wsgi script for Debian Change-Id: I85008079b0e922a4518c696a097238500132fa04 Closes-Bug: 1313662
21 lines
414 B
Puppet
21 lines
414 B
Puppet
# Configure apache and listen ports
|
|
class osnailyfacter::apache (
|
|
$purge_configs = false,
|
|
$listen_ports = '80',
|
|
) {
|
|
|
|
define apache_port {
|
|
apache::listen { $name: }
|
|
apache::namevirtualhost { "*:${name}": }
|
|
}
|
|
|
|
class { '::apache':
|
|
mpm_module => false,
|
|
default_vhost => false,
|
|
purge_configs => $purge_configs,
|
|
servername => $::hostname,
|
|
}
|
|
|
|
apache_port { $listen_ports: }
|
|
}
|