Mercurial > repos > other > Puppet
diff modules/apache/manifests/peruser/multiplexer.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 diff
--- a/modules/apache/manifests/peruser/multiplexer.pp Wed Apr 19 18:45:23 2023 +0100 +++ b/modules/apache/manifests/peruser/multiplexer.pp Sun Aug 14 11:30:13 2022 +0100 @@ -5,19 +5,19 @@ # # @api private define apache::peruser::multiplexer ( - $user = $::apache::user, - $group = $::apache::group, - $file = undef, + String $user = $apache::user, + String $group = $apache::group, + Optional[String] $file = undef, ) { if ! $file { $filename = "${name}.conf" } else { $filename = $file } - file { "${::apache::mod_dir}/peruser/multiplexers/${filename}": + file { "${apache::mod_dir}/peruser/multiplexers/${filename}": ensure => file, content => "Multiplexer ${user} ${group}\n", - require => File["${::apache::mod_dir}/peruser/multiplexers"], + require => File["${apache::mod_dir}/peruser/multiplexers"], notify => Class['apache::service'], } }