freighthop 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/data/common.json
CHANGED
@@ -3,5 +3,6 @@
|
|
3
3
|
"freighthop::ppas": [],
|
4
4
|
"freighthop::packages": ["build-essential", "git"],
|
5
5
|
"freighthop::languages": [],
|
6
|
-
"freighthop::web::apache::passenger_app_env": "development"
|
6
|
+
"freighthop::web::apache::passenger_app_env": "development",
|
7
|
+
"freighthop::web::apache::passenger_buffer_upload": true
|
7
8
|
}
|
data/lib/freighthop/version.rb
CHANGED
@@ -4,6 +4,7 @@ class freighthop::web::apache(
|
|
4
4
|
$ssl_key_path,
|
5
5
|
$server_name,
|
6
6
|
$passenger_app_env,
|
7
|
+
$passenger_buffer_upload,
|
7
8
|
$port = $freighthop::params::http_port,
|
8
9
|
$ssl_port = $freighthop::params::https_port,
|
9
10
|
$upstream_port = $freighthop::params::upstream_port,
|
@@ -11,7 +12,6 @@ class freighthop::web::apache(
|
|
11
12
|
$group = $freighthop::params::gid,
|
12
13
|
$web_root = $freighthop::params::web_root,
|
13
14
|
$passenger = $freighthop::params::passenger,
|
14
|
-
$passenger_buffer_upload = $freighthop::params::passenger_buffer_upload,
|
15
15
|
) {
|
16
16
|
class { '::apache':
|
17
17
|
default_vhost => false,
|
@@ -13,9 +13,9 @@
|
|
13
13
|
# Set the rack/rails environment
|
14
14
|
PassengerAppEnv <%= @passenger_app_env %>
|
15
15
|
|
16
|
-
#
|
16
|
+
# Whether or not to buffer file uploads before passing them through to passenger.
|
17
17
|
# Allows application to deal in streams for large uploads.
|
18
|
-
# Requires Passenger 4.0.26 or higher; defaults to
|
18
|
+
# Requires Passenger 4.0.26 or higher; defaults to On
|
19
19
|
<% if @passenger_buffer_upload -%>
|
20
20
|
PassengerBufferUpload On
|
21
21
|
<% else -%>
|