Defined Type: apache::peruser::processor
- Defined in:
-
manifests/peruser/processor.pp
Summary
Enables the `Peruser` module for FreeBSD only.
Overview
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'manifests/peruser/processor.pp', line 5
define apache::peruser::processor (
String $user,
String $group,
Optional[String] $file = undef,
) {
if ! $file {
$filename = "${name}.conf"
} else {
$filename = $file
}
file { "${apache::mod_dir}/peruser/processors/${filename}":
ensure => file,
content => "Processor ${user} ${group}\n",
require => File["${apache::mod_dir}/peruser/processors"],
notify => Class['apache::service'],
}
}
|