mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-09-11 16:19:29 +00:00
manifests/config.pp -> manifests/config/init.pp
This commit is contained in:
19
manifests/config/init.pp
Normal file
19
manifests/config/init.pp
Normal file
@@ -0,0 +1,19 @@
|
||||
# Configure package
|
||||
#
|
||||
class fluentd::config inherits fluentd {
|
||||
|
||||
file { '/etc/td-agent/td-agent.conf' :
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
source => "puppet:///modules/fluentd/td-agent.conf"
|
||||
}
|
||||
|
||||
file {'/etc/td-agent/conf.d':
|
||||
ensure => 'directory',
|
||||
owner => 'td-agent',
|
||||
group => 'td-agent',
|
||||
mode => '0750',
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user