1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2025-09-13 08:59:29 +00:00

6 Commits
0.5.4 ... 0.5.6

Author SHA1 Message Date
Max Wilhelm
bfa6de193e prepare 0.5.6 2017-07-25 16:24:03 +02:00
Max Wilhelm
5f3aca9597 Merge pull request #16 from lzecca78/master
bug in referenced class variable
2017-07-25 16:20:37 +02:00
Luca Zecca
ee3a8e968a bug in referenced class variable 2017-07-25 16:10:06 +02:00
Max Wilhelm
3f26736084 prepare 0.5.5 2017-07-25 15:17:22 +02:00
Max Wilhelm
d27479eb17 Merge pull request #15 from lzecca78/master
added boolean param for enabling fluentd::conf_dir
2017-07-25 15:13:28 +02:00
Luca Zecca
c8046ee2c6 added boolean param for enabling fluentd::conf_dir exclusive file handling by puppet. 2017-07-24 14:33:21 +02:00
5 changed files with 19 additions and 5 deletions

View File

@@ -1,4 +1,11 @@
# Changelog
## 0.5.6
* Fixed `conf_dir_manage` parameter call
## 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
* fixed templates/filter.erb
* fixed removing of old GPG key for yum repos

View File

@@ -11,9 +11,11 @@ class fluentd::config inherits fluentd {
}
file { $::fluentd::conf_dir:
ensure => 'directory',
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0750',
ensure => 'directory',
recurse => $::fluentd::conf_dir_manage,
purge => $::fluentd::conf_dir_manage,
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0750',
}
}

View File

@@ -8,6 +8,9 @@
# [*repo_manage*]
# Include repository to install recent fluentd (td-agent) from
# 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
# Default: 'installed'
@@ -63,6 +66,7 @@ class fluentd (
$service_enable = $::fluentd::params::service_enable,
$config_path = $::fluentd::params::config_path,
$conf_dir = $::fluentd::params::conf_dir,
$conf_dir_manage = $::fluentd::params::conf_dir_manage,
$config_file = $::fluentd::params::config_file,
$user_manage = $::fluentd::params::user_manage,
$user_name = $::fluentd::params::user_name,

View File

@@ -11,6 +11,7 @@ class fluentd::params {
# config params
$config_path = '/etc/td-agent'
$conf_dir = "${config_path}/conf.d"
$conf_dir_manage = false
$config_file = "${config_path}/td-agent.conf"
# user params
$user_manage = true

View File

@@ -1,6 +1,6 @@
{
"name": "wywygmbh-fluentd",
"version": "0.5.4",
"version": "0.5.6",
"author": "wywy GmbH",
"summary": "Generic module for fluentd (td-agent).",
"license": "Apache-2.0",