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::fcgid( |
2 |
$options = {}, |
|
3 |
) { |
|
4 |
||
5 |
::apache::mod { 'fcgid': |
|
6 |
loadfile_name => 'unixd_fcgid.load', |
|
7 |
} |
|
8 |
||
9 |
# Template uses: |
|
10 |
# - $options |
|
11 |
file { 'unixd_fcgid.conf': |
|
12 |
ensure => file, |
|
13 |
path => "${::apache::mod_dir}/unixd_fcgid.conf", |
|
14 |
content => template('apache/mod/unixd_fcgid.conf.erb'), |
|
15 |
require => Exec["mkdir ${::apache::mod_dir}"], |
|
16 |
before => File[$::apache::mod_dir], |
|
17 |
notify => Class['apache::service'], |
|
18 |
} |
|
19 |
} |