mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-09-13 08:59:29 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3f26736084 | ||
|
d27479eb17 | ||
|
c8046ee2c6 |
@@ -1,4 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## 0.5.5
|
||||||
|
* Added `conf_dir_manage` parameter (Default: false)
|
||||||
|
* Exclusively handle config files into fluentd::conf_dir. Other files not created by puppet, will be deleted
|
||||||
|
|
||||||
## 0.5.4
|
## 0.5.4
|
||||||
* fixed templates/filter.erb
|
* fixed templates/filter.erb
|
||||||
* fixed removing of old GPG key for yum repos
|
* fixed removing of old GPG key for yum repos
|
||||||
|
@@ -12,6 +12,8 @@ class fluentd::config inherits fluentd {
|
|||||||
|
|
||||||
file { $::fluentd::conf_dir:
|
file { $::fluentd::conf_dir:
|
||||||
ensure => 'directory',
|
ensure => 'directory',
|
||||||
|
recurse => $::fluentd::params::conf_dir_manage,
|
||||||
|
purge => $::fluentd::params::conf_dir_manage,
|
||||||
owner => $::fluentd::user_name,
|
owner => $::fluentd::user_name,
|
||||||
group => $::fluentd::user_group,
|
group => $::fluentd::user_group,
|
||||||
mode => '0750',
|
mode => '0750',
|
||||||
|
@@ -8,6 +8,9 @@
|
|||||||
# [*repo_manage*]
|
# [*repo_manage*]
|
||||||
# Include repository to install recent fluentd (td-agent) from
|
# Include repository to install recent fluentd (td-agent) from
|
||||||
# Default: 'true'
|
# Default: 'true'
|
||||||
|
# [*conf_dir_manage*]
|
||||||
|
# Exclusively handle config files into fluentd::conf_dir. Other files not created by puppet, will be deleted
|
||||||
|
# Default: 'false'
|
||||||
# [*package_ensure*]
|
# [*package_ensure*]
|
||||||
# Package ensure
|
# Package ensure
|
||||||
# Default: 'installed'
|
# Default: 'installed'
|
||||||
@@ -63,6 +66,7 @@ class fluentd (
|
|||||||
$service_enable = $::fluentd::params::service_enable,
|
$service_enable = $::fluentd::params::service_enable,
|
||||||
$config_path = $::fluentd::params::config_path,
|
$config_path = $::fluentd::params::config_path,
|
||||||
$conf_dir = $::fluentd::params::conf_dir,
|
$conf_dir = $::fluentd::params::conf_dir,
|
||||||
|
$conf_dir_manage = $::fluentd::params::conf_dir_manage,
|
||||||
$config_file = $::fluentd::params::config_file,
|
$config_file = $::fluentd::params::config_file,
|
||||||
$user_manage = $::fluentd::params::user_manage,
|
$user_manage = $::fluentd::params::user_manage,
|
||||||
$user_name = $::fluentd::params::user_name,
|
$user_name = $::fluentd::params::user_name,
|
||||||
|
@@ -11,6 +11,7 @@ class fluentd::params {
|
|||||||
# config params
|
# config params
|
||||||
$config_path = '/etc/td-agent'
|
$config_path = '/etc/td-agent'
|
||||||
$conf_dir = "${config_path}/conf.d"
|
$conf_dir = "${config_path}/conf.d"
|
||||||
|
$conf_dir_manage = false
|
||||||
$config_file = "${config_path}/td-agent.conf"
|
$config_file = "${config_path}/td-agent.conf"
|
||||||
# user params
|
# user params
|
||||||
$user_manage = true
|
$user_manage = true
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wywygmbh-fluentd",
|
"name": "wywygmbh-fluentd",
|
||||||
"version": "0.5.4",
|
"version": "0.5.5",
|
||||||
"author": "wywy GmbH",
|
"author": "wywy GmbH",
|
||||||
"summary": "Generic module for fluentd (td-agent).",
|
"summary": "Generic module for fluentd (td-agent).",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
Reference in New Issue
Block a user