Puppet Class: apache::mod::dumpio

Defined in:
manifests/mod/dumpio.pp

Summary

Installs and configures `mod_dumpio`.

Overview

Examples:

class{'apache':
  default_mods => false,
  log_level    => 'dumpio:trace7',
}
class{'apache::mod::dumpio':
  dump_io_input  => 'On',
  dump_io_output => 'Off',
}

Parameters:

  • dump_io_input (Enum['Off', 'On', 'off', 'on']) (defaults to: 'Off')

    Dump all input data to the error log

  • dump_io_output (Enum['Off', 'On', 'off', 'on']) (defaults to: 'Off')

    Dump all output data to the error log

See Also:



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'manifests/mod/dumpio.pp', line 22

class apache::mod::dumpio(
  Enum['Off', 'On', 'off', 'on'] $dump_io_input  = 'Off',
  Enum['Off', 'On', 'off', 'on'] $dump_io_output = 'Off',
) {
  include ::apache

  ::apache::mod { 'dumpio': }
  file{'dumpio.conf':
    ensure  => file,
    path    => "${::apache::mod_dir}/dumpio.conf",
    mode    => $::apache::file_mode,
    content => template('apache/mod/dumpio.conf.erb'),
    require => Exec["mkdir ${::apache::mod_dir}"],
    before  => File[$::apache::mod_dir],
    notify  => Class['apache::service'],
  }

}