diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ac4561c5..6888e92fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,20 @@ 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.4.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.4.0) (2023-04-03) +## [v5.0.0](https://github.com/voxpupuli/puppet-nginx/tree/v5.0.0) (2023-06-26) + +[Full Changelog](https://github.com/voxpupuli/puppet-nginx/compare/v4.4.0...v5.0.0) + +**Breaking changes:** + +- Drop Puppet 6 support [\#1549](https://github.com/voxpupuli/puppet-nginx/pull/1549) ([bastelfreak](https://github.com/bastelfreak)) + +**Implemented enhancements:** + +- puppetlabs/stdlib: Allow 9.x & puppetlabs/concat: Allow 8.x & 9.x [\#1558](https://github.com/voxpupuli/puppet-nginx/pull/1558) ([bastelfreak](https://github.com/bastelfreak)) +- Add puppet 8 support [\#1557](https://github.com/voxpupuli/puppet-nginx/pull/1557) ([bastelfreak](https://github.com/bastelfreak)) + +## [v4.4.0](https://github.com/voxpupuli/puppet-nginx/tree/v4.4.0) (2023-04-11) [Full Changelog](https://github.com/voxpupuli/puppet-nginx/compare/v4.3.0...v4.4.0) diff --git a/metadata.json b/metadata.json index 2c9e46a26..a83761c38 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppet-nginx", - "version": "4.4.1-rc0", + "version": "5.0.1-rc0", "author": "Vox Pupuli", "summary": "Puppet NGINX management module", "license": "MIT", diff --git a/spec/defines/resource_server_spec.rb b/spec/defines/resource_server_spec.rb index dce45ef16..6569ccf5d 100644 --- a/spec/defines/resource_server_spec.rb +++ b/spec/defines/resource_server_spec.rb @@ -90,11 +90,11 @@ \s+error_log\s+/var/log/nginx/www.rspec.example.com.error.log;\n}x }, { - title: 'should contain access and error logs directives inside the www rewrite', + title: 'should contain access and error logs directives inside the non-www rewrite', attr: 'rewrite_non_www_to_www', value: true, - match: %r{\s+return\s+301\s+http://rspec\.example\.com\$request_uri;\n - \s+access_log\s+/var/log/nginx/rspec.example.com.access.log;\n + match: %r{\s+return\s+301\s+http://www.rspec\.example\.com\$request_uri;\n + \s+access_log\s+/var/log/nginx/rspec.example.com.access.log;\n \s+error_log\s+/var/log/nginx/rspec.example.com.error.log;\n}x }, {