Skip to content

Commit

Permalink
Merge pull request #1535 from bastelfreak/rel430
Browse files Browse the repository at this point in the history
Release 4.3.0
  • Loading branch information
bastelfreak authored Jan 10, 2023
2 parents 79cf78e + ff56c74 commit 0f96e9a
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 13 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v4.3.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.3.0) (2023-01-10)

[Full Changelog](https://github.com/voxpupuli/puppet-nginx/compare/v4.2.0...v4.3.0)

**Implemented enhancements:**

- Add support for proxy\_cache\_convert\_head [\#1534](https://github.com/voxpupuli/puppet-nginx/pull/1534) ([idl0r](https://github.com/idl0r))
- Add support for proxy\_cache\_background\_update [\#1532](https://github.com/voxpupuli/puppet-nginx/pull/1532) ([idl0r](https://github.com/idl0r))
- Enable subdirectory hierarchy for client\_body and proxy temp paths [\#1531](https://github.com/voxpupuli/puppet-nginx/pull/1531) ([jplindquist](https://github.com/jplindquist))
- allow setting of map\_hash\_bucket\_size and map\_hash\_max\_size [\#1525](https://github.com/voxpupuli/puppet-nginx/pull/1525) ([tuxmea](https://github.com/tuxmea))

## [v4.2.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.2.0) (2022-12-20)

[Full Changelog](https://github.com/voxpupuli/puppet-nginx/compare/v4.1.0...v4.2.0)
Expand Down
36 changes: 28 additions & 8 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ The following parameters are available in the `nginx` class:
* [`log_format`](#-nginx--log_format)
* [`stream_log_format`](#-nginx--stream_log_format)
* [`mail`](#-nginx--mail)
* [`map_hash_bucket_size`](#-nginx--map_hash_bucket_size)
* [`map_hash_max_size`](#-nginx--map_hash_max_size)
* [`mime_types_path`](#-nginx--mime_types_path)
* [`stream`](#-nginx--stream)
* [`multi_accept`](#-nginx--multi_accept)
Expand Down Expand Up @@ -333,7 +335,7 @@ Default value: `{}`

Data type: `Optional[Variant[Stdlib::Absolutepath, Tuple[Stdlib::Absolutepath, Integer, 1, 4]]]`

Can be used to define a directory for storing temporary files holding client request bodies, and up to a three-level subdirectory hierarchy can be used under the specified directory.


Default value: `undef`

Expand Down Expand Up @@ -525,7 +527,7 @@ Default value: `$nginx::params::pid`

Data type: `Optional[Variant[Stdlib::Absolutepath, Tuple[Stdlib::Absolutepath, Integer, 1, 4]]]`

Can be used to define a directory for storing temporary files with data received from proxied servers, and up to a three-level subdirectory hierarchy can be used under the specified directory.


Default value: `undef`

Expand Down Expand Up @@ -929,6 +931,22 @@ Data type: `Boolean`

Default value: `false`

##### <a name="-nginx--map_hash_bucket_size"></a>`map_hash_bucket_size`

Data type: `Optional[Integer]`



Default value: `undef`

##### <a name="-nginx--map_hash_max_size"></a>`map_hash_max_size`

Data type: `Optional[Integer]`



Default value: `undef`

##### <a name="-nginx--mime_types_path"></a>`mime_types_path`

Data type: `Variant[String, Boolean]`
Expand Down Expand Up @@ -2385,7 +2403,8 @@ Default value: `undef`

Data type: `Optional[Enum['on', 'off']]`

Enables or disables the conversion of the “HEAD” method to “GET” for caching. When the conversion is disabled, the cache key should be configured to include the $request_method.
Enables or disables the conversion of the “HEAD” method to “GET” for caching.
When the conversion is disabled, the cache key should be configured to include the $request_method.

Default value: `undef`

Expand Down Expand Up @@ -3036,7 +3055,7 @@ Create a new mapping entry for NGINX

#### Examples

#####
##### basic map with two mappings

```puppet
nginx::resource::map { 'backend_pool':
Expand Down Expand Up @@ -3169,7 +3188,7 @@ Create a virtual host

#### Examples

#####
##### simple server

```puppet
nginx::resource::server { 'test2.local':
Expand Down Expand Up @@ -3947,7 +3966,8 @@ Default value: `undef`

Data type: `Optional[Enum['on', 'off']]`

Enables or disables the conversion of the “HEAD” method to “GET” for caching. When the conversion is disabled, the cache key should be configured to include the $request_method.
Enables or disables the conversion of the “HEAD” method to “GET” for caching.
When the conversion is disabled, the cache key should be configured to include the $request_method.

Default value: `undef`

Expand Down Expand Up @@ -4478,7 +4498,7 @@ Create a virtual steamhost

#### Examples

#####
##### basic streamhost

```puppet
nginx::resource::streamhost { 'test2.local':
Expand Down Expand Up @@ -4660,7 +4680,7 @@ Create a new upstream proxy entry for NGINX

#### Examples

#####
##### basic example with three members

```puppet
nginx::resource::upstream { 'proxypass':
Expand Down
2 changes: 1 addition & 1 deletion manifests/resource/map.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# @param context
# Specify if mapping is for http or stream context
#
# @example
# @example basic map with two mappings
# nginx::resource::map { 'backend_pool':
# ensure => present,
# hostnames => true,
Expand Down
2 changes: 1 addition & 1 deletion manifests/resource/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
# @param locations_defaults
# Hash of location default settings
#
# @example
# @example simple server
# nginx::resource::server { 'test2.local':
# ensure => present,
# www_root => '/var/www/nginx-default',
Expand Down
2 changes: 1 addition & 1 deletion manifests/resource/streamhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# @param mode
# Defines mode of the .conf file Default to return 503
#
# @example
# @example basic streamhost
# nginx::resource::streamhost { 'test2.local':
# ensure => present,
# }
Expand Down
2 changes: 1 addition & 1 deletion manifests/resource/upstream.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# It expects a hash with custom directives to put before anything else inside
# upstream
#
# @example
# @example basic example with three members
# nginx::resource::upstream { 'proxypass':
# ensure => present,
# members => {
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-nginx",
"version": "4.2.1-rc0",
"version": "4.3.0",
"author": "Vox Pupuli",
"summary": "Puppet NGINX management module",
"license": "MIT",
Expand Down

0 comments on commit 0f96e9a

Please sign in to comment.