Skip to content

Commit

Permalink
Merge pull request #1528 from bastelfreak/rel420
Browse files Browse the repository at this point in the history
Release 4.2.0
  • Loading branch information
bastelfreak authored Dec 20, 2022
2 parents e5f14db + c4b744e commit 2f77124
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 12 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@ 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.1.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.1.0) (2022-11-28)
## [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)

**Implemented enhancements:**

- Add support for proxy\_protocol and proxy\_smtp\_auth parameters [\#1526](https://github.com/voxpupuli/puppet-nginx/pull/1526) ([jtlamers](https://github.com/jtlamers))
- Add stream log support [\#1461](https://github.com/voxpupuli/puppet-nginx/pull/1461) ([ardrigh](https://github.com/ardrigh))

**Fixed bugs:**

- apt::source: configure repo only for current architecture [\#1527](https://github.com/voxpupuli/puppet-nginx/pull/1527) ([bastelfreak](https://github.com/bastelfreak))
- init: set package\_ensure defaults to installed [\#1523](https://github.com/voxpupuli/puppet-nginx/pull/1523) ([kenyon](https://github.com/kenyon))

**Closed issues:**

- Default package\_ensure value is not compatible with current stdlib default for ensure\_packages\(\) [\#1522](https://github.com/voxpupuli/puppet-nginx/issues/1522)

## [v4.1.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.1.0) (2022-11-30)

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

Expand Down
67 changes: 57 additions & 10 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ The following parameters are available in the `nginx` class:
* [`log_mode`](#-nginx--log_mode)
* [`http_access_log`](#-nginx--http_access_log)
* [`http_format_log`](#-nginx--http_format_log)
* [`stream_access_log`](#-nginx--stream_access_log)
* [`stream_custom_format_log`](#-nginx--stream_custom_format_log)
* [`nginx_error_log`](#-nginx--nginx_error_log)
* [`nginx_error_log_severity`](#-nginx--nginx_error_log_severity)
* [`pid`](#-nginx--pid)
Expand Down Expand Up @@ -153,6 +155,7 @@ The following parameters are available in the `nginx` class:
* [`keepalive_timeout`](#-nginx--keepalive_timeout)
* [`keepalive_requests`](#-nginx--keepalive_requests)
* [`log_format`](#-nginx--log_format)
* [`stream_log_format`](#-nginx--stream_log_format)
* [`mail`](#-nginx--mail)
* [`mime_types_path`](#-nginx--mime_types_path)
* [`stream`](#-nginx--stream)
Expand Down Expand Up @@ -476,6 +479,22 @@ Data type: `Optional[String]`



Default value: `undef`

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

Data type: `Variant[String, Array[String]]`



Default value: `"${log_dir}/stream-access.log"`

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

Data type: `Optional[String]`



Default value: `undef`

##### <a name="-nginx--nginx_error_log"></a>`nginx_error_log`
Expand Down Expand Up @@ -892,6 +911,14 @@ Data type: `Hash[String[1], Nginx::LogFormat]`



Default value: `{}`

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

Data type: `Hash[String[1], Nginx::LogFormat]`



Default value: `{}`

##### <a name="-nginx--mail"></a>`mail`
Expand Down Expand Up @@ -2531,16 +2558,18 @@ Define a mailhost

```puppet
nginx::resource::mailhost { 'domain1.example':
ensure => present,
auth_http => 'server2.example/cgi-bin/auth',
protocol => 'smtp',
listen_port => 587,
ssl_port => 465,
starttls => 'only',
xclient => 'off',
ssl => true,
ssl_cert => '/tmp/server.crt',
ssl_key => '/tmp/server.pem',
ensure => present,
auth_http => 'server2.example/cgi-bin/auth',
protocol => 'smtp',
listen_port => 587,
ssl_port => 465,
starttls => 'only',
xclient => 'off',
proxy_protocol => 'off',
proxy_smtp_auth => 'off',
ssl => true,
ssl_cert => '/tmp/server.crt',
ssl_key => '/tmp/server.pem',
}
```

Expand Down Expand Up @@ -2578,6 +2607,8 @@ The following parameters are available in the `nginx::resource::mailhost` define
* [`protocol`](#-nginx--resource--mailhost--protocol)
* [`auth_http`](#-nginx--resource--mailhost--auth_http)
* [`xclient`](#-nginx--resource--mailhost--xclient)
* [`proxy_protocol`](#-nginx--resource--mailhost--proxy_protocol)
* [`proxy_smtp_auth`](#-nginx--resource--mailhost--proxy_smtp_auth)
* [`imap_auth`](#-nginx--resource--mailhost--imap_auth)
* [`imap_capabilities`](#-nginx--resource--mailhost--imap_capabilities)
* [`imap_client_buffer`](#-nginx--resource--mailhost--imap_client_buffer)
Expand Down Expand Up @@ -2843,6 +2874,22 @@ Whether to use xclient for smtp

Default value: `'on'`

##### <a name="-nginx--resource--mailhost--proxy_protocol"></a>`proxy_protocol`

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

Wheter to use proxy_protocol

Default value: `'off'`

##### <a name="-nginx--resource--mailhost--proxy_smtp_auth"></a>`proxy_smtp_auth`

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

Wheter to use proxy_smtp_auth

Default value: `'off'`

##### <a name="-nginx--resource--mailhost--imap_auth"></a>`imap_auth`

Data type: `Optional[String]`
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.1.1-rc0",
"version": "4.2.0",
"author": "Vox Pupuli",
"summary": "Puppet NGINX management module",
"license": "MIT",
Expand Down

0 comments on commit 2f77124

Please sign in to comment.