mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
added class parameters to README
This commit is contained in:
parent
7821317f84
commit
7beb6b5298
39
README.md
39
README.md
@ -11,6 +11,7 @@
|
|||||||
1. [Setup - The basics of getting started with fluentd](#setup)
|
1. [Setup - The basics of getting started with fluentd](#setup)
|
||||||
1. [Usage](#usage)
|
1. [Usage](#usage)
|
||||||
* [Configuration](#configuration)
|
* [Configuration](#configuration)
|
||||||
|
* [Parameters](#parameters)
|
||||||
* [Source](#source)
|
* [Source](#source)
|
||||||
* [Filter](#filter)
|
* [Filter](#filter)
|
||||||
* [Match](#match)
|
* [Match](#match)
|
||||||
@ -41,6 +42,44 @@ include '::fluentd'
|
|||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
`manage_repo`
|
||||||
|
Include repository to install recent fluentd (td-agent) from
|
||||||
|
**Default:** 'true'
|
||||||
|
`package_ensure`
|
||||||
|
Package ensure
|
||||||
|
**Default:** 'installed'
|
||||||
|
`package_name`
|
||||||
|
Package name
|
||||||
|
**Default:** 'td-agent'
|
||||||
|
`package_install_options`
|
||||||
|
Package install options
|
||||||
|
**Default:** '[]'
|
||||||
|
`service_manage`
|
||||||
|
Defines if the service should be managed by puppet
|
||||||
|
**Default:** 'true'
|
||||||
|
`service_name`
|
||||||
|
Name of the service
|
||||||
|
**Default:** 'td-agent'
|
||||||
|
`service_ensure`
|
||||||
|
Service ensure
|
||||||
|
**Default:** 'running'
|
||||||
|
`service_enabled`
|
||||||
|
Defines if the service should be enabled
|
||||||
|
**Default:** 'true'
|
||||||
|
`user_manage`
|
||||||
|
Defines if the user should be manage, which will add the user
|
||||||
|
to groups defined in `user_groups`.
|
||||||
|
For example to be able to view the /var/log directory with group adm
|
||||||
|
**Default:** 'true'
|
||||||
|
`user_name`
|
||||||
|
**Default:** 'td-agent'
|
||||||
|
`user_group`
|
||||||
|
**Default:** 'td-agent'
|
||||||
|
`user_groups`
|
||||||
|
**Default:** '["adm"]'
|
||||||
|
|
||||||
#### Source
|
#### Source
|
||||||
```puppet
|
```puppet
|
||||||
::fluentd::source { 'test':
|
::fluentd::source { 'test':
|
||||||
|
Loading…
Reference in New Issue
Block a user