diff --git a/CHANGELOG.md b/CHANGELOG.md index ca0dbf25..258ce6bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ 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. +## [v5.1.0](https://github.com/voxpupuli/puppet-proxysql/tree/v5.0.3) (2020-08-30) + +[Full Changelog](https://github.com/voxpupuli/puppet-proxysql/compare/v5.0.3...v5.1.0) + +**Merged pull requests:** + +- Add ability to configure errorlog file path and mode [\#153](https://github.com/voxpupuli/puppet-proxysql/pull/153) ([Anirudhra10](https://github.com/Anirudhra10)) + ## [v5.0.3](https://github.com/voxpupuli/puppet-proxysql/tree/v5.0.3) (2020-08-24) [Full Changelog](https://github.com/voxpupuli/puppet-proxysql/compare/v5.0.2...v5.0.3) diff --git a/README.markdown b/README.markdown index 9d514a88..e15738c4 100644 --- a/README.markdown +++ b/README.markdown @@ -331,6 +331,18 @@ The ensure of the ProxySQL service resource. Defaults to 'running' ##### `datadir` The directory where ProxySQL will store it's data. defaults to '/var/lib/proxysql' +##### `errorlog_file` +The File where ProxySQL will store its error logs. Defaults to '/var/lib/proxysql/proxysql.log'. Available from ProxySQL v2.0.0 + +##### `errorlog_file_mode` +The filesystem mode for the `errorlog_file`. Defaults to '0600'. Available from ProxySQL v2.0.0 + +##### `errorlog_file_owner` +Owner of the `errorlog_file`. Defaults to 'proxysql'. Available from ProxySQL v2.0.0 + +##### `errorlog_file_group` +Group of the `errorlog_file`. Defaults to 'proxysql'. Available from ProxySQL v2.0.0 + ##### `manage_selinux` Whether to create the required selinux rules for logrotate to work. Defaults to `true`, but is only applicable to systems where SELinux is active (`enforcing` or `permissive`). This parameter also requires the [puppet/selinux](https://forge.puppet.com/puppet/selinux) module to be installed. diff --git a/manifests/init.pp b/manifests/init.pp index afac6550..964634e8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -28,7 +28,7 @@ # The File where ProxySQL will store its error logs. Defaults to '/var/lib/proxysql/proxysql.log'. Available from ProxySQL v2.0.0 # # * `errorlog_file_mode` -# The filesystem mode for the `errorlog_file_mode`. Defaults to '0600'. Available from ProxySQL v2.0.0 +# The filesystem mode for the `errorlog_file`. Defaults to '0600'. Available from ProxySQL v2.0.0 # # * `errorlog_file_owner` # Owner of the `errorlog_file`. Defaults to 'proxysql'. Available from ProxySQL v2.0.0 diff --git a/metadata.json b/metadata.json index c826b0d2..84fccdb8 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppet-proxysql", - "version": "5.0.4-rc0", + "version": "5.1.0", "author": "Vox Pupuli", "summary": "Module to install and configure ProxySQL", "license": "Apache-2.0",