Mercurial > repos > other > Puppet
view modules/apache/manifests/peruser/processor.pp @ 437:b8d6ada284dd
Update Apache module to latest version
Also converted some params to ints to match
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 14 Aug 2022 11:30:13 +0100 |
parents | d9352a684e62 |
children |
line wrap: on
line source
# @summary # Enables the `Peruser` module for FreeBSD only. # # @api private 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'], } }