author | ymh <ymh.work@gmail.com> |
Fri, 15 Jan 2016 15:35:00 +0100 | |
changeset 28 | b0b56e0f8c7f |
permissions | -rw-r--r-- |
28 | 1 |
class apache::mod::suphp ( |
2 |
){ |
|
3 |
::apache::mod { 'suphp': } |
|
4 |
||
5 |
file {'suphp.conf': |
|
6 |
ensure => file, |
|
7 |
path => "${::apache::mod_dir}/suphp.conf", |
|
8 |
content => template('apache/mod/suphp.conf.erb'), |
|
9 |
require => Exec["mkdir ${::apache::mod_dir}"], |
|
10 |
before => File[$::apache::mod_dir], |
|
11 |
notify => Class['apache::service'], |
|
12 |
} |
|
13 |
} |
|
14 |