mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +00:00
7821317f84
this will manage the user if is set to true. This will add the td-agent user to the user group 'adm', so td-agent can view log files under /var/log/*.
14 lines
294 B
Puppet
14 lines
294 B
Puppet
# Configure package
|
|
#
|
|
class fluentd::user inherits fluentd {
|
|
|
|
if $::fluentd::user_manage {
|
|
user { 'fluentd':
|
|
name => $::fluentd::user_name,
|
|
gid => $::fluentd::user_group,
|
|
groups => $::fluentd::user_groups,
|
|
require => Class['Fluentd::Install'],
|
|
}
|
|
}
|
|
}
|