Puppet Class: apache::mod::setenvif

Defined in:
manifests/mod/setenvif.pp

Summary

Installs `mod_setenvif`.

Overview



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/mod/setenvif.pp', line 6

class apache::mod::setenvif {
  include ::apache
  ::apache::mod { 'setenvif': }
  # Template uses no variables
  file { 'setenvif.conf':
    ensure  => file,
    path    => "${::apache::mod_dir}/setenvif.conf",
    mode    => $::apache::file_mode,
    content => template('apache/mod/setenvif.conf.erb'),
    require => Exec["mkdir ${::apache::mod_dir}"],
    before  => File[$::apache::mod_dir],
    notify  => Class['apache::service'],
  }
}