Skip to content

Latest commit

 

History

History
111 lines (92 loc) · 2.4 KB

README.md

File metadata and controls

111 lines (92 loc) · 2.4 KB

hekad cookbook Build Status

A Chef cookbook for installing & configuring Mozilla Heka.

Recipes

hekad::default

Includes the install, configure, and service recipes.

hekad::install

Downloads the configured release, and installs it.

hekad::configure

Creates the configuration template directory, and installs the heka_config[hekad] resource, with hekas global configuration.

See attributes documentation about how to set global configuration.

hekad::service

Installs and configures a heka user, group, and service.

Attributes

Attributes are namespaced under default['heka'].

Attribute Description Default Value
release_url base url for download path https://github.com/mozilla-services/heka/releases/download
version heka release version 0.8.3
tag heka release tag v0.8.3
package heka release package heka-0_8_3-linux-amd64.rpm or heka_0.8.3_amd64.deb
config heka global configuration (Hash) {'maxprocs' => 2, 'pid_file' => '/var/run/hekad.pid'}

Resources

heka_config

Heka configuration, maps to a file under /etc/heka.

Attribute Description Default Value
path Filesystem location for the rendered config template. /etc/heka/$name.toml
config ruby Hash that will be toml-encoded and written to /etc/heka/$name.toml {}