Skip to content

Commit

Permalink
Merge pull request #4 from rushikeshtayde04/PC-255
Browse files Browse the repository at this point in the history
PC-255 | Force /opt/td-agent file permissions
  • Loading branch information
Zlender authored Apr 11, 2022
2 parents ee0dd72 + b01d63d commit 94f3ebd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion manifests/service.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Configure service
#
class fluentd::service inherits fluentd {

file {
'/opt/td-agent':
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0755',
recurse => true,
}
if $::fluentd::service_manage {
service { 'fluentd':
ensure => $::fluentd::service_ensure,
Expand Down

0 comments on commit 94f3ebd

Please sign in to comment.