1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-13 21:50:34 +00:00
puppet-fluentd/manifests/user.pp
Max Wilhelm 7821317f84 added ::fluentd::user
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/*.
2015-12-22 13:56:46 +01:00

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'],
}
}
}