Puppet Class: apache::mpm::disable_mpm_event

Defined in:
manifests/mpm/disable_mpm_event.pp

Summary

disable Apache-Module event

Overview



2
3
4
5
6
7
8
9
10
11
# File 'manifests/mpm/disable_mpm_event.pp', line 2

class apache::mpm::disable_mpm_event {
  $event_command = ['/usr/sbin/a2dismod', 'mpm_event']
  $event_onlyif = [['/usr/bin/test', '-e', join([$apache::mod_enable_dir, 'mpm_event.load'],'/')]]
  exec { '/usr/sbin/a2dismod mpm_event':
    command => $event_command,
    onlyif  => $event_onlyif,
    require => Package['httpd'],
    notify  => Class['apache::service'],
  }
}