Puppet Class: apache::mpm::disable_mpm_worker

Defined in:
manifests/mpm/disable_mpm_worker.pp

Summary

disable Apache-Module worker

Overview



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

class apache::mpm::disable_mpm_worker {
  $worker_command = ['/usr/sbin/a2dismod', 'worker']
  $worker_onlyif = [['/usr/bin/test', '-e', join([$apache::mod_enable_dir, 'worker.load'],'/')]]
  exec { '/usr/sbin/a2dismod worker':
    command => $worker_command,
    onlyif  => $worker_onlyif,
    require => Package['httpd'],
    before  => Class['apache::service'],
  }
}