@@ -75,6 +75,7 @@ mod-pagespeed-stable package. The module does however require that the package b
75
75
or be installable using the system's default package provider. You should ensure that this
76
76
pre-requisite is met or declaring `apache::mod::pagespeed` will cause the puppet run to fail.
77
77
* [`apache::mod::passenger`](#apache--mod--passenger): Installs `mod_pasenger`.
78
+ > **Note**: This module support Passenger 4.0.0 and higher.
78
79
* [`apache::mod::perl`](#apache--mod--perl): Installs `mod_perl`.
79
80
* [`apache::mod::peruser`](#apache--mod--peruser): Installs `mod_peruser`.
80
81
* [`apache::mod::php`](#apache--mod--php): Installs `mod_php`.
@@ -217,7 +218,6 @@ The following parameters are available in the `apache` class:
217
218
* [`default_ssl_key`](#-apache--default_ssl_key)
218
219
* [`default_ssl_reload_on_change`](#-apache--default_ssl_reload_on_change)
219
220
* [`default_ssl_vhost`](#-apache--default_ssl_vhost)
220
- * [`default_type`](#-apache--default_type)
221
221
* [`default_vhost`](#-apache--default_vhost)
222
222
* [`dev_packages`](#-apache--dev_packages)
223
223
* [`docroot`](#-apache--docroot)
@@ -279,7 +279,6 @@ The following parameters are available in the `apache` class:
279
279
* [`limitreqfieldsize`](#-apache--limitreqfieldsize)
280
280
* [`limitreqline`](#-apache--limitreqline)
281
281
* [`ip`](#-apache--ip)
282
- * [`purge_vdir`](#-apache--purge_vdir)
283
282
* [`conf_enabled`](#-apache--conf_enabled)
284
283
* [`vhost_enable_dir`](#-apache--vhost_enable_dir)
285
284
* [`manage_vhost_enable_dir`](#-apache--manage_vhost_enable_dir)
@@ -463,16 +462,6 @@ apache::vhost { 'default-ssl':
463
462
464
463
Default value: `false`
465
464
466
- ##### <a name="-apache--default_type"></a>`default_type`
467
-
468
- Data type: `String`
469
-
470
- _Apache 2.2 only_. Sets the MIME `content-type` sent if the server cannot otherwise
471
- determine an appropriate `content-type`. This directive is deprecated in Apache 2.4 and
472
- newer, and is only for backwards compatibility in configuration files.
473
-
474
- Default value: `'none'`
475
-
476
465
##### <a name="-apache--default_vhost"></a>`default_vhost`
477
466
478
467
Data type: `Boolean`
@@ -1090,15 +1079,6 @@ Specifies the ip address
1090
1079
1091
1080
Default value: `undef`
1092
1081
1093
- ##### <a name="-apache--purge_vdir"></a>`purge_vdir`
1094
-
1095
- Data type: `Boolean`
1096
-
1097
- Removes all other Apache configs and virtual hosts.<br />
1098
- > **Note**: This parameter is deprecated in favor of the `purge_configs` parameter.<br />
1099
-
1100
- Default value: `false`
1101
-
1102
1082
##### <a name="-apache--conf_enabled"></a>`conf_enabled`
1103
1083
1104
1084
Data type: `Optional[Stdlib::Absolutepath]`
@@ -4515,22 +4495,9 @@ The following parameters are available in the `apache::mod::passenger` class:
4515
4495
* [`passenger_use_global_queue`](#-apache--mod--passenger--passenger_use_global_queue)
4516
4496
* [`passenger_user`](#-apache--mod--passenger--passenger_user)
4517
4497
* [`passenger_user_switching`](#-apache--mod--passenger--passenger_user_switching)
4518
- * [`rack_auto_detect`](#-apache--mod--passenger--rack_auto_detect)
4519
- * [`rack_autodetect`](#-apache--mod--passenger--rack_autodetect)
4520
- * [`rack_base_uri`](#-apache--mod--passenger--rack_base_uri)
4521
4498
* [`rack_env`](#-apache--mod--passenger--rack_env)
4522
- * [`rails_allow_mod_rewrite`](#-apache--mod--passenger--rails_allow_mod_rewrite)
4523
- * [`rails_app_spawner_idle_time`](#-apache--mod--passenger--rails_app_spawner_idle_time)
4524
- * [`rails_auto_detect`](#-apache--mod--passenger--rails_auto_detect)
4525
- * [`rails_autodetect`](#-apache--mod--passenger--rails_autodetect)
4526
- * [`rails_base_uri`](#-apache--mod--passenger--rails_base_uri)
4527
- * [`rails_default_user`](#-apache--mod--passenger--rails_default_user)
4528
4499
* [`rails_env`](#-apache--mod--passenger--rails_env)
4529
4500
* [`rails_framework_spawner_idle_time`](#-apache--mod--passenger--rails_framework_spawner_idle_time)
4530
- * [`rails_ruby`](#-apache--mod--passenger--rails_ruby)
4531
- * [`rails_spawn_method`](#-apache--mod--passenger--rails_spawn_method)
4532
- * [`rails_user_switching`](#-apache--mod--passenger--rails_user_switching)
4533
- * [`wsgi_auto_detect`](#-apache--mod--passenger--wsgi_auto_detect)
4534
4501
4535
4502
##### <a name="-apache--mod--passenger--manage_repo"></a>`manage_repo`
4536
4503
@@ -5179,30 +5146,6 @@ Toggles whether to attempt to enable user account sandboxing, also known as user
5179
5146
5180
5147
Default value: `undef`
5181
5148
5182
- ##### <a name="-apache--mod--passenger--rack_auto_detect"></a>`rack_auto_detect`
5183
-
5184
- Data type: `Optional[String]`
5185
-
5186
- This option has been removed in version 4.0.0 as part of an optimization. You should use PassengerEnabled instead.
5187
-
5188
- Default value: `undef`
5189
-
5190
- ##### <a name="-apache--mod--passenger--rack_autodetect"></a>`rack_autodetect`
5191
-
5192
- Data type: `Optional[String]`
5193
-
5194
- This option has been removed in version 4.0.0 as part of an optimization. You should use PassengerEnabled instead.
5195
-
5196
- Default value: `undef`
5197
-
5198
- ##### <a name="-apache--mod--passenger--rack_base_uri"></a>`rack_base_uri`
5199
-
5200
- Data type: `Optional[String]`
5201
-
5202
- Deprecated in 3.0.0 in favor of PassengerBaseURI.
5203
-
5204
- Default value: `undef`
5205
-
5206
5149
##### <a name="-apache--mod--passenger--rack_env"></a>`rack_env`
5207
5150
5208
5151
Data type: `Optional[String]`
@@ -5211,54 +5154,6 @@ Alias for PassengerAppEnv.
5211
5154
5212
5155
Default value: `undef`
5213
5156
5214
- ##### <a name="-apache--mod--passenger--rails_allow_mod_rewrite"></a>`rails_allow_mod_rewrite`
5215
-
5216
- Data type: `Optional[String]`
5217
-
5218
- This option doesn't do anything anymore since version 4.0.0.
5219
-
5220
- Default value: `undef`
5221
-
5222
- ##### <a name="-apache--mod--passenger--rails_app_spawner_idle_time"></a>`rails_app_spawner_idle_time`
5223
-
5224
- Data type: `Optional[String]`
5225
-
5226
- This option has been removed in version 4.0.0, and replaced with PassengerMaxPreloaderIdleTime.
5227
-
5228
- Default value: `undef`
5229
-
5230
- ##### <a name="-apache--mod--passenger--rails_auto_detect"></a>`rails_auto_detect`
5231
-
5232
- Data type: `Optional[String]`
5233
-
5234
- This option has been removed in version 4.0.0 as part of an optimization. You should use PassengerEnabled instead.
5235
-
5236
- Default value: `undef`
5237
-
5238
- ##### <a name="-apache--mod--passenger--rails_autodetect"></a>`rails_autodetect`
5239
-
5240
- Data type: `Optional[String]`
5241
-
5242
- This option has been removed in version 4.0.0 as part of an optimization. You should use PassengerEnabled instead.
5243
-
5244
- Default value: `undef`
5245
-
5246
- ##### <a name="-apache--mod--passenger--rails_base_uri"></a>`rails_base_uri`
5247
-
5248
- Data type: `Optional[String]`
5249
-
5250
- Deprecated in 3.0.0 in favor of PassengerBaseURI.
5251
-
5252
- Default value: `undef`
5253
-
5254
- ##### <a name="-apache--mod--passenger--rails_default_user"></a>`rails_default_user`
5255
-
5256
- Data type: `Optional[String]`
5257
-
5258
- Deprecated in 3.0.0 in favor of PassengerDefaultUser
5259
-
5260
- Default value: `undef`
5261
-
5262
5157
##### <a name="-apache--mod--passenger--rails_env"></a>`rails_env`
5263
5158
5264
5159
Data type: `Optional[String]`
@@ -5276,38 +5171,6 @@ altogether. You should use smart spawning instead.
5276
5171
5277
5172
Default value: `undef`
5278
5173
5279
- ##### <a name="-apache--mod--passenger--rails_ruby"></a>`rails_ruby`
5280
-
5281
- Data type: `Optional[String]`
5282
-
5283
- Deprecated in 3.0.0 in favor of PassengerRuby.
5284
-
5285
- Default value: `undef`
5286
-
5287
- ##### <a name="-apache--mod--passenger--rails_spawn_method"></a>`rails_spawn_method`
5288
-
5289
- Data type: `Optional[String]`
5290
-
5291
- Deprecated in 3.0.0 in favor of PassengerSpawnMethod.
5292
-
5293
- Default value: `undef`
5294
-
5295
- ##### <a name="-apache--mod--passenger--rails_user_switching"></a>`rails_user_switching`
5296
-
5297
- Data type: `Optional[String]`
5298
-
5299
- Deprecated in 3.0.0 in favor of PassengerUserSwitching.
5300
-
5301
- Default value: `undef`
5302
-
5303
- ##### <a name="-apache--mod--passenger--wsgi_auto_detect"></a>`wsgi_auto_detect`
5304
-
5305
- Data type: `Optional[String]`
5306
-
5307
- This option has been removed in version 4.0.0 as part of an optimization. You should use PassengerEnabled instead.
5308
-
5309
- Default value: `undef`
5310
-
5311
5174
### <a name="apache--mod--perl"></a>`apache::mod::perl`
5312
5175
5313
5176
Installs `mod_perl`.
@@ -7753,7 +7616,6 @@ The following parameters are available in the `apache::vhost` defined type:
7753
7616
* [`rewrite_cond`](#-apache--vhost--rewrite_cond)
7754
7617
* [`rewrite_inherit`](#-apache--vhost--rewrite_inherit)
7755
7618
* [`scriptalias`](#-apache--vhost--scriptalias)
7756
- * [`scriptaliases`](#-apache--vhost--scriptaliases)
7757
7619
* [`serveradmin`](#-apache--vhost--serveradmin)
7758
7620
* [`serveraliases`](#-apache--vhost--serveraliases)
7759
7621
* [`servername`](#-apache--vhost--servername)
@@ -7947,11 +7809,6 @@ a corresponding context, such as `<Directory /path/to/directory>` or
7947
7809
the `aliases` parameter. As described in the `mod_alias` documentation, add more specific
7948
7810
`alias`, `aliasmatch`, `scriptalias` or `scriptaliasmatch` parameters before the more
7949
7811
general ones to avoid shadowing.<BR />
7950
- > **Note**: Use the `aliases` parameter instead of the `scriptaliases` parameter because
7951
- you can precisely control the order of various alias directives. Defining `ScriptAliases`
7952
- using the `scriptaliases` parameter means *all* `ScriptAlias` directives will come after
7953
- *all* `Alias` directives, which can lead to `Alias` directives shadowing `ScriptAlias`
7954
- directives. This often causes problems; for example, this could cause problems with Nagios.<BR />
7955
7812
If `apache::mod::passenger` is loaded and `PassengerHighPerformance` is `true`, the `Alias`
7956
7813
directive might not be able to honor the `PassengerEnabled => off` statement. See
7957
7814
[this article](http://www.conandalton.net/2010/06/passengerenabled-off-not-working.html) for details.
@@ -9761,39 +9618,6 @@ Defines a directory of CGI scripts to be aliased to the path '/cgi-bin', such as
9761
9618
9762
9619
Default value: `undef`
9763
9620
9764
- ##### <a name="-apache--vhost--scriptaliases"></a>`scriptaliases`
9765
-
9766
- Data type: `Array[Hash]`
9767
-
9768
- > **Note**: This parameter is deprecated in favor of the `aliases` parameter.<br />
9769
- Passes an array of hashes to the virtual host to create either ScriptAlias or
9770
- ScriptAliasMatch statements per the `mod_alias` documentation.
9771
- ``` puppet
9772
- scriptaliases => [
9773
- {
9774
- alias => '/myscript',
9775
- path => '/usr/share/myscript',
9776
- },
9777
- {
9778
- aliasmatch => '^/foo(.*)',
9779
- path => '/usr/share/fooscripts$1',
9780
- },
9781
- {
9782
- aliasmatch => '^/bar/(.*)',
9783
- path => '/usr/share/bar/wrapper.sh/$1',
9784
- },
9785
- {
9786
- alias => '/neatscript',
9787
- path => '/usr/share/neatscript',
9788
- },
9789
- ]
9790
- ```
9791
- The ScriptAlias and ScriptAliasMatch directives are created in the order specified.
9792
- As with [Alias and AliasMatch](#aliases) directives, specify more specific aliases
9793
- before more general ones to avoid shadowing.
9794
-
9795
- Default value: `[]`
9796
-
9797
9621
##### <a name="-apache--vhost--serveradmin"></a>`serveradmin`
9798
9622
9799
9623
Data type: `Optional[String]`
0 commit comments