Skip to content

Commit 12169e9

Browse files
jst-cyrclaude
andcommitted
(MODULES-12060) Remove broken apache::fastcgi::server
apache::fastcgi::server has included apache::mod::fastcgi since that class was removed in 84940ea (v10.0.0, 2023), so every invocation of the define has unconditionally failed catalog compilation since then. The define also had two independent latent bugs (an unset $socket variable and invalid string concatenation in server.epp) that would have surfaced if the missing class were ever restored. Since mod_fastcgi is dead upstream and unavailable on any currently supported OS, and the define has never worked in any released version since v10.0.0, remove it outright along with its leftover erb/epp templates and REFERENCE.md entry rather than resurrect unmanageable functionality. Fixes #2640 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 47bba2c commit 12169e9

4 files changed

Lines changed: 0 additions & 202 deletions

File tree

‎REFERENCE.md‎

Lines changed: 0 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ pre-requisite is met or declaring `apache::mod::pagespeed` will cause the puppet
134134
directory.
135135
* [`apache::balancermember`](#apache--balancermember): Defines members of `mod_proxy_balancer`
136136
* [`apache::custom_config`](#apache--custom_config): Adds a custom configuration file to the Apache server's `conf.d` directory.
137-
* [`apache::fastcgi::server`](#apache--fastcgi--server): Defines one or more external FastCGI servers to handle specific file types. Use this
138-
defined type with `mod_fastcgi`.
139137
* [`apache::listen`](#apache--listen): Adds `Listen` directives to `ports.conf` that define the
140138
Apache server's or a virtual host's listening address and port.
141139
* [`apache::mod`](#apache--mod): Installs packages for an Apache module that doesn't have a corresponding
@@ -7647,87 +7645,6 @@ show_diff property for configuration file resource
76477645

76487646
Default value: `true`
76497647

7650-
### <a name="apache--fastcgi--server"></a>`apache::fastcgi::server`
7651-
7652-
Defines one or more external FastCGI servers to handle specific file types. Use this
7653-
defined type with `mod_fastcgi`.
7654-
7655-
#### Parameters
7656-
7657-
The following parameters are available in the `apache::fastcgi::server` defined type:
7658-
7659-
* [`host`](#-apache--fastcgi--server--host)
7660-
* [`timeout`](#-apache--fastcgi--server--timeout)
7661-
* [`flush`](#-apache--fastcgi--server--flush)
7662-
* [`faux_path`](#-apache--fastcgi--server--faux_path)
7663-
* [`fcgi_alias`](#-apache--fastcgi--server--fcgi_alias)
7664-
* [`file_type`](#-apache--fastcgi--server--file_type)
7665-
* [`pass_header`](#-apache--fastcgi--server--pass_header)
7666-
7667-
##### <a name="-apache--fastcgi--server--host"></a>`host`
7668-
7669-
Data type: `String`
7670-
7671-
Determines the FastCGI's hostname or IP address and TCP port number (1-65535).
7672-
7673-
Default value: `'127.0.0.1:9000'`
7674-
7675-
##### <a name="-apache--fastcgi--server--timeout"></a>`timeout`
7676-
7677-
Data type: `Integer`
7678-
7679-
Sets the number of seconds a [FastCGI](http://www.fastcgi.com/) application can be inactive before aborting the
7680-
request and logging the event at the error LogLevel. The inactivity timer applies only as
7681-
long as a connection is pending with the FastCGI application. If a request is queued to an
7682-
application, but the application doesn't respond by writing and flushing within this period,
7683-
the request is aborted. If communication is complete with the application but incomplete with
7684-
the client (the response is buffered), the timeout does not apply.
7685-
7686-
Default value: `15`
7687-
7688-
##### <a name="-apache--fastcgi--server--flush"></a>`flush`
7689-
7690-
Data type: `Boolean`
7691-
7692-
Forces `mod_fastcgi` to write to the client as data is received from the
7693-
application. By default, `mod_fastcgi` buffers data in order to free the application
7694-
as quickly as possible.
7695-
7696-
Default value: `false`
7697-
7698-
##### <a name="-apache--fastcgi--server--faux_path"></a>`faux_path`
7699-
7700-
Data type: `Stdlib::Absolutepath`
7701-
7702-
Apache has FastCGI handle URIs that resolve to this filename. The path set in this
7703-
parameter does not have to exist in the local filesystem.
7704-
7705-
Default value: `"/var/www/${name}.fcgi"`
7706-
7707-
##### <a name="-apache--fastcgi--server--fcgi_alias"></a>`fcgi_alias`
7708-
7709-
Data type: `Stdlib::Unixpath`
7710-
7711-
Internally links actions with the FastCGI server. This alias must be unique.
7712-
7713-
Default value: `"/${name}.fcgi"`
7714-
7715-
##### <a name="-apache--fastcgi--server--file_type"></a>`file_type`
7716-
7717-
Data type: `String`
7718-
7719-
Sets the MIME `content-type` of the file to be processed by the FastCGI server.
7720-
7721-
Default value: `'application/x-httpd-php'`
7722-
7723-
##### <a name="-apache--fastcgi--server--pass_header"></a>`pass_header`
7724-
7725-
Data type: `Optional[String]`
7726-
7727-
Sets a header for the server
7728-
7729-
Default value: `undef`
7730-
77317648
### <a name="apache--listen"></a>`apache::listen`
77327649

77337650
The `apache::vhost` class uses this defined type, and titles take the form

‎manifests/fastcgi/server.pp‎

Lines changed: 0 additions & 73 deletions
This file was deleted.

‎templates/fastcgi/server.epp‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎templates/fastcgi/server.erb‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)