Revision 24b477a1
Added by Justin Sherrill over 10 years ago
modules/apache/manifests/mod/event.pp | ||
---|---|---|
$threadsperchild = '25',
|
||
$maxrequestsperchild = '0',
|
||
$serverlimit = '25',
|
||
$apache_version = $apache::apache_version,
|
||
$apache_version = $::apache::apache_version,
|
||
) {
|
||
if defined(Class['apache::mod::itk']) {
|
||
fail('May not include both apache::mod::event and apache::mod::itk on the same node')
|
||
... | ... | |
}
|
||
File {
|
||
owner => 'root',
|
||
group => $apache::params::root_group,
|
||
group => $::apache::params::root_group,
|
||
mode => '0644',
|
||
}
|
||
|
||
... | ... | |
# - $threadsperchild
|
||
# - $maxrequestsperchild
|
||
# - $serverlimit
|
||
file { "${apache::mod_dir}/event.conf":
|
||
file { "${::apache::mod_dir}/event.conf":
|
||
ensure => file,
|
||
content => template('apache/mod/event.conf.erb'),
|
||
require => Exec["mkdir ${apache::mod_dir}"],
|
||
before => File[$apache::mod_dir],
|
||
require => Exec["mkdir ${::apache::mod_dir}"],
|
||
before => File[$::apache::mod_dir],
|
||
notify => Service['httpd'],
|
||
}
|
||
|
Also available in: Unified diff
Update puppet modules