Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
providers
recipes
resources
spec
templates/default
test
.gitignore
.kitchen.yml
.ruby-version
.travis.yml
Berksfile
Gemfile
LICENSE
README.md
chefignore
metadata.rb

README.md

current

Installs the current package and provides a LWRP for sending log files to current.

Recipes

  • default - Nothing
  • install - Installs the package

Attributes

  • node['current']['token'] - Default token to use for services. Optional.

LWRPs

current_send

Setup a runit service to send a log file to current.

Example:

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

License: MIT

Author: David Radcliffe