A Chef cookbook for installing & configuring Mozilla Heka.
Includes the install, configure, and service recipes.
Downloads the configured release, and installs it.
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.
Installs and configures a heka user, group, and service.
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'} |
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 | {} |