Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

hekad (24) Versions 0.3.0

Installs/Configures heka

Berkshelf/Librarian
Policyfile
Knife
cookbook 'hekad', '= 0.3.0'
cookbook 'hekad', '= 0.3.0', :supermarket
knife cookbook site install hekad
knife cookbook site download hekad
README
Dependencies
Changelog
Quality

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 hekad service.

hekad::journald

configures heka to listen for journald syslog forwarding.

Attributes

Attributes are namespaced under default['heka'].

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

Resources

heka_config

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

<table> <thead> <tr> <th>Attribute</th> <th>Description</th> <th>Default Value</th> </tr> </thead> <tbody> <tr> <td>path</td> <td> Filesystem location for the rendered config template. </td> <td><code>/etc/heka/$name.toml</code></td> </tr> <tr> <td>config</td> <td> ruby Hash that will be toml-encoded and written to /etc/heka/$name.toml </td> <td><code>{}</code></td> </tr> </tbody> </table>

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.3.0 / 2015-05-02

  • manage system user/group, run hekad service non-privileged (thanks @jsh2134!)
  • pull in sysv script (thanks @jsh2134!) for Ubuntu 1{2,4}.04
  • rework service mgmt

0.2.3 / 2015-04-23

  • update to latest heka bugfix release

0.2.2 / 2015-04-16

  • fix chef 11 service provider mis-identification

0.2.1 / 2015-03-30

  • add recipe to help with capturing journald logs via syslog

0.2.0/ 2015-03-15

  • simplify resource/provider by using toml to encode config

0.1.3 / 2015-02-26

  • testing improvements
  • add support for fedora
  • update to latest release

0.1.2 / 2015-02-14

  • updated docs
  • use value_for_platform for package attribute

0.1.1 / 2015-02-14

  • add heka_config resource

0.1.0 / 2015-02-14

  • initial release

Foodcritic Metric
            

0.3.0 failed this metric

FC019: Access node attributes in a consistent manner: /tmp/cook/80d3263b558d93d8fab1e7ce/hekad/recipes/service.rb:59