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

Select Status

The hekad cookbook has been deprecated

Author provided reason for deprecation:

The hekad cookbook has been deprecated and is no longer being maintained by its authors. Use of the hekad cookbook is no longer recommended.

RSS

hekad (25) Versions 2.0.3

Installs/Configures heka

Policyfile
Berkshelf
Knife
cookbook 'hekad', '= 2.0.3', :supermarket
cookbook 'hekad', '= 2.0.3'
knife supermarket install hekad
knife supermarket download hekad
README
Dependencies
Changelog
Quality 100%

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'].

<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

systemd >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

2.0.3 / 2015-10-06

  • rebase resources on lwrp base
  • simplify service helpers
  • update test matrix

2.0.2 / 2015-08-19

  • fix cops
  • notify service to restart on unit change
  • add mac_os_x support

2.0.1 / 2015-08-19

  • fix systemd service definition

2.0.0 / 2015-08-19

  • change version selection attributes (breaking change!)
  • use systemd cookbook to manage systemd service definition
  • clean up service provider selection rules

1.0.0 / 2015-07-24

  • enforce plugin name uniqueness by using chef resource name. note that this will break pre-existing configurations by requiring (partial) flattening of the config hash

0.3.3 / 2015-07-09

  • now with TOML 0.4.0 compatibility (thanks @funzoneq!)

0.3.2 / 2015-07-06

  • update service provider selection

0.3.1 / 2015-07-05

  • update sysv init file (thanks @jsh2134!)

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
            

2.0.3 passed this metric