equal
deleted
inserted
replaced
|
1 class apache::mod::info ( |
|
2 $allow_from = ['127.0.0.1','::1'], |
|
3 $apache_version = $::apache::apache_version, |
|
4 $restrict_access = true, |
|
5 ){ |
|
6 apache::mod { 'info': } |
|
7 # Template uses |
|
8 # $allow_from |
|
9 # $apache_version |
|
10 file { 'info.conf': |
|
11 ensure => file, |
|
12 path => "${::apache::mod_dir}/info.conf", |
|
13 content => template('apache/mod/info.conf.erb'), |
|
14 require => Exec["mkdir ${::apache::mod_dir}"], |
|
15 before => File[$::apache::mod_dir], |
|
16 notify => Class['apache::service'], |
|
17 } |
|
18 } |