Puppet Class: apache::mpm::disable_mpm_event

Defined in:
manifests/mpm/disable_mpm_event.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/mpm/disable_mpm_event.pp', line 1

class apache::mpm::disable_mpm_event {
  exec { '/usr/sbin/a2dismod event':
    onlyif  => "/usr/bin/test -e ${apache::mod_enable_dir}/event.load",
    require => Package['httpd'],
    before  => Class['apache::service'],
  }
  exec { 'remove distribution event load file':
    command => "/bin/rm ${apache::mod_enable_dir}/mpm_event.load",
    onlyif  => "/usr/bin/test -e ${apache::mod_enable_dir}/mpm_event.load",
    require => Package['httpd'],
    before  => Class['apache::service'],
  }
  exec { 'remove distribution event conf file':
    command => "/bin/rm ${apache::mod_enable_dir}/mpm_event.conf",
    onlyif  => "/usr/bin/test -e ${apache::mod_enable_dir}/mpm_event.conf",
    require => Package['httpd'],
    before  => Class['apache::service'],
  }

}