1 define apache::fastcgi::server (
2 $host = '127.0.0.1:9000',
5 $faux_path = "/var/www/${name}.fcgi",
6 $fcgi_alias = "/${name}.fcgi",
7 $file_type = 'application/x-httpd-php'
9 include apache::mod::fastcgi
11 Apache::Mod['fastcgi'] -> Apache::Fastcgi::Server[$title]
13 file { "fastcgi-pool-${name}.conf":
15 path => "${::apache::confd_dir}/fastcgi-pool-${name}.conf",
17 group => $::apache::params::root_group,
19 content => template('apache/fastcgi/server.erb'),
20 require => Exec["mkdir ${::apache::confd_dir}"],
21 before => File[$::apache::confd_dir],
22 notify => Class['apache::service'],