dev/provisioning/modules/apache/manifests/mod/reqtimeout.pp
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 class apache::mod::reqtimeout (
       
     2   $timeouts = ['header=20-40,minrate=500', 'body=10,minrate=500']
       
     3 ){
       
     4   ::apache::mod { 'reqtimeout': }
       
     5   # Template uses no variables
       
     6   file { 'reqtimeout.conf':
       
     7     ensure  => file,
       
     8     path    => "${::apache::mod_dir}/reqtimeout.conf",
       
     9     content => template('apache/mod/reqtimeout.conf.erb'),
       
    10     require => Exec["mkdir ${::apache::mod_dir}"],
       
    11     before  => File[$::apache::mod_dir],
       
    12     notify  => Class['apache::service'],
       
    13   }
       
    14 }