Installs the current package and provides a LWRP for sending log files to current.
install- Installs the package
node['current']['token']- Default token to use for services. Optional.
Setup a runit service to send a log file to current.
current_send 'some-app' do filename '/var/log/some-app/asdf.log' token 'asdfasdfasdfasdfasdf' end
If you have the token set in an attribute, you can leave it off the resource:
current_send 'some-other-app' do filename '/var/log/some-other-app/asdf.log' end
You can also set an array of tags to send to current.
License and Author
Author: David Radcliffe