cookbook 'hekad', '= 0.2.3'
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.
hekad
(25) Versions
0.2.3
-
Follow1
Installs/Configures heka
cookbook 'hekad', '= 0.2.3', :supermarket
knife supermarket install hekad
knife supermarket download hekad
hekad cookbook
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.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.2.3 passed this metric
0.2.3 passed this metric