Installs/Configures the Logentries agent to allow logging to Logentries
- Debian
- Ubuntu
- Rhel
The following are dependencies of the Logentries cookbook
- apt
- yum
node['le']['account_key']
- your Logentries account_key (this can be found following this link)node['le']['hostname']
- sets the hostname of the log to the machine name, defaults tonode['hostname']
node['le']['logs_to_follow']
- An array of logs to follow (use absolute paths)
Put depends 'yum', and 'apt', in your metadata.rb to gain access to the resources.
Restarting the Chef script will allow the recipe to install any updates to the Logentries agent.
Author:: Joe Heung ([email protected]) Author:: Caroline Fenlon
Copyright (C) 2014, RevelOps Inc.
License:: All rights reserved