Mercurial > repos > other > Puppet
comparison modules/apache/manifests/fastcgi/server.pp @ 478:adf6fe9bbc17
Update Puppet modules to latest versions
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 29 Aug 2024 18:47:29 +0100 |
parents | b8d6ada284dd |
children |
comparison
equal
deleted
inserted
replaced
477:21f6add30502 | 478:adf6fe9bbc17 |
---|---|
46 | 46 |
47 if $host =~ Stdlib::Absolutepath { | 47 if $host =~ Stdlib::Absolutepath { |
48 $socket = $host | 48 $socket = $host |
49 } | 49 } |
50 | 50 |
51 $parameters = { | |
52 'timeout' => $timeout, | |
53 'flush' => $flush, | |
54 'socket' => $socket, | |
55 'host' => $host, | |
56 'pass_header' => $pass_header, | |
57 'faux_path' => $faux_path, | |
58 'fcgi_alias' => $fcgi_alias, | |
59 'file_type' => $file_type, | |
60 } | |
61 | |
51 file { "fastcgi-pool-${name}.conf": | 62 file { "fastcgi-pool-${name}.conf": |
52 ensure => file, | 63 ensure => file, |
53 path => "${apache::confd_dir}/fastcgi-pool-${name}.conf", | 64 path => "${apache::confd_dir}/fastcgi-pool-${name}.conf", |
54 owner => 'root', | 65 owner => 'root', |
55 group => $apache::params::root_group, | 66 group => $apache::params::root_group, |
56 mode => $apache::file_mode, | 67 mode => $apache::file_mode, |
57 content => template('apache/fastcgi/server.erb'), | 68 content => epp('apache/fastcgi/server.epp', $parameters), |
58 require => Exec["mkdir ${apache::confd_dir}"], | 69 require => Exec["mkdir ${apache::confd_dir}"], |
59 before => File[$apache::confd_dir], | 70 before => File[$apache::confd_dir], |
60 notify => Class['apache::service'], | 71 notify => Class['apache::service'], |
61 } | 72 } |
62 } | 73 } |