/chef-td-agent

Chef Cookbook for td-agent (Treasure Data Agent or Fluentd)

Primary LanguageRuby

DESCRIPTION:

Opscode Chef cookbook for td-agent (Treasure Data Agent). The release log of td-agent is available here.

NOTE: td-agent is open-sourced as Fluentd project. If you want to use stable version of Fluentd, using this cookbook is recommended.

INSTALLATION:

The knife-github-cookbooks gem is a plugin for knife that supports installing cookbooks directly from a GitHub repository. To install with this plugin, please follow these steps:

$ gem install knife-github-cookbooks
$ cd chef-repo
$ knife cookbook github install treasure-data/chef-td-agent

REQUIREMENTS:

This cookbook has these external dependencies.

  • apt cookbook

  • yum cookbook

ATTRIBUTES:

API Key, and the Secret Key are required.

  • node[:api_key] (required)

USAGE:

This is an example role file.

name "base"
description "base server role."
run_list(
  "recipe[apt]",
  "recipe[yum]",
  "recipe[td-agent]",
)
override_attributes(
  # for td-agent
  :td_agent => {
    :api_key => 'foo_bar_buz',
  }
)