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 0.1.2

Installs/Configures heka

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

heka

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 the hekad 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}</code></td>
</tr>
</tbody>
</table>

Resources

heka_config

Heka configuration template.

Templates are placed at /etc/heka/$name.toml, are pulled from the cookbook
defining the resource, and are expected to be located in the cookbook at
a default of templates/default/heka/$name.toml.erb.

<table>
<thead>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Default Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>cookbook</td>
<td>
String naming the cookbook containing the template.
</td>
<td><code>nil</code></td>
</tr>
<tr>
<td>path</td>
<td>
Filesystem location for the rendered config template.
</td>
<td><code>/etc/heka/$name.toml</code></td>
</tr>
<tr>
<td>source</td>
<td>
template source
</td>
<td><code>heka/$name.toml.erb</code></td>
</tr>
<tr>
<td>variables</td>
<td>
variables Hash to pass to the source template
</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.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.1.2 passed this metric