Installs Heka from package.
Logrotate
- Chef 0.11.x
- Ubuntu 12.04
- Ubuntu 14.04
node['heka']['download']['mirror'] = 'https://github.com/mozilla-services/heka/releases/download/v'
node['heka']['download']['version'] = '0.8.1'
node['heka']['download']['arch'] = 'amd64'
node['heka']['download']['extension'] = 'deb'
Add "heka" to a node's "run_list".
Read http://hekad.readthedocs.org/en/latest/ .
Add your TOML configuration files into the /etc/heka/ directory.
To override the default heka version, override the following attributes
override["heka"]["download"]["version"] = "0.7.0"
override["heka"]["download"]["remote_src"] = \
"#{node["heka"]["download"]["mirror"]}#{node["heka"]["download"]["version"]
}/heka_#{node["heka"]["download"]["version"]
}_#{node["heka"]["download"]["arch"]
}.#{node["heka"]["download"]["extension"]}"
override["heka"]["download"]["remote_file"] = ::File.join(
"/tmp",
"heka_#{node["heka"]["download"]["version"]}_#{
node["heka"]["download"]["arch"]}.#{node["heka"]["download"]["extension"]}")