Puppet Class: role::simplelap
- Defined in:
- modules/role/manifests/simplelap.pp
Overview
class: role::simplelap
For times when you do not want mysql, and just apache and PHP
This was originally created because there were a lot of labs instances using the old webserver::apache and webserver::php5 roles that needed to go away. This probably will not end up being publicly used
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'modules/role/manifests/simplelap.pp', line 12
class role::simplelap{
$php_version = wmflib::debian_php_version()
$php_module = "php${php_version}"
ensure_packages(["libapache2-mod-${php_module}", 'php-cli'])
class { 'httpd::mpm':
mpm => 'prefork'
}
class { 'httpd':
modules => ['rewrite', $php_module],
purge_manual_config => false,
require => Class['httpd::mpm'],
}
}
|