1 class apache::mod::deflate (
3 'text/html text/plain text/xml',
5 'application/x-javascript application/javascript application/ecmascript',
10 'Output' => 'outstream',
14 ::apache::mod { 'deflate': }
16 file { 'deflate.conf':
18 path => "${::apache::mod_dir}/deflate.conf",
19 content => template('apache/mod/deflate.conf.erb'),
20 require => Exec["mkdir ${::apache::mod_dir}"],
21 before => File[$::apache::mod_dir],
22 notify => Class['apache::service'],