Revision 4c18f820
Added by Ivan Necas over 10 years ago
modules/apache/manifests/mod/itk.pp | ||
---|---|---|
$serverlimit = '256',
|
||
$maxclients = '256',
|
||
$maxrequestsperchild = '4000',
|
||
$apache_version = $apache::apache_version,
|
||
) {
|
||
if defined(Class['apache::mod::event']) {
|
||
fail('May not include both apache::mod::itk and apache::mod::event on the same node')
|
||
... | ... | |
}
|
||
|
||
case $::osfamily {
|
||
'debian' : {
|
||
file { "${apache::mod_enable_dir}/itk.conf":
|
||
ensure => link,
|
||
target => "${apache::mod_dir}/itk.conf",
|
||
require => Exec["mkdir ${apache::mod_enable_dir}"],
|
||
before => File[$apache::mod_enable_dir],
|
||
notify => Service['httpd'],
|
||
}
|
||
package { 'apache2-mpm-itk':
|
||
ensure => present,
|
||
}
|
||
}
|
||
'freebsd' : {
|
||
class { 'apache::package':
|
||
mpm_module => 'itk'
|
||
'debian', 'freebsd': {
|
||
apache::mpm{ 'itk':
|
||
apache_version => $apache_version,
|
||
}
|
||
}
|
||
default: {
|
Also available in: Unified diff
Update to librarian