File: server.epp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 647 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<%
  $timeout_updated = " -idle-timeout #{$timeout}"

  if $flush {
    $flush_updated = " -flush"
  } else {
    $flush_updated = ""
  }    
  if $socket {
    $host_or_socket = " -socket #{$socket}"
  } else {
    $host_or_socket = " -host #{$host}"
  }    
  if $pass_header and !$pass_header.empty {
    $pass_header_updated = " -pass-header #{$pass_header}"
  } else {
    $pass_header_updated = ""
  }
    
  $options = $timeout_updated + $flush_updated + $host_or_socket + $pass_header_updated
-%>
FastCGIExternalServer <%= $faux_path %><%= $options %>
Alias <%= $fcgi_alias %> <%= $faux_path %>
Action <%= $file_type %> <%= $fcgi_alias %>