Rather than typing out hundreds of files that logstash has to monitor and
put it into my profiles::logstash::acl class, how are others maintaining
the actions to set the ACLs on files that logstash has to monitor? Right
now, I am doing this for every file that logstash has to monitor:
exec { 'allow_input_file_read':
command => "/usr/bin/setfacl -R -m u:logstash:rwx <path>",
subscribe => File_concat['ls-config'],
refreshonly => true,
}
I monitor the changes to the configuration template that is maintained by
the puppet forge logstash class so that the ACL is applied or re-applied
when the logstash configuration changes.
How are others doing this?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/fdd179e7-a3e4-4819-9173-b749d2540121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.