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

RSS

fluentd_bundle (1) Versions 0.2.0

Installs/Configures fluentd by bundler

Policyfile
Berkshelf
Knife
cookbook 'fluentd_bundle', '~> 0.2.0', :supermarket
cookbook 'fluentd_bundle', '~> 0.2.0'
knife supermarket install fluentd_bundle
knife supermarket download fluentd_bundle
README
Dependencies
Quality 17%

fluentd_bundle-cookbook

Install fluentd with rbenv to /opt/fluentd(default).

Supported Platforms

  • Ubuntu14.04
  • Joyent SmartOS 14.xx

Attributes

key usage default

bundle.rb

key usage default
node[:fluentd_bundle][:bundler][:pre_commands] run shell command before bundle []
node[:fluentd_bundle][:bundler][:force_bundle] run bundle install forcefully with no update to Gemfile. false

default.rb

key usage default
node[:fluentd_bundle][:root] fluentd base directory '/opt/fluentd'
node[:fluentd_bundle][:ug] run as specific user ` {

:user => 'fluentd',
:uid => nil,
:group => 'fluentd',
:gid => nil
} `|

depends_smartos.rb

packages list and logadm settings.

depends_ubuntu.rb

packages list and loglotate settings.

gemfile.rb

Gemfile for fluentd settings.

rbenv.rb

rbenv settings.

Recipes

default.rb

Install rbenv and fluentd.

Usage

add fluentd_bundle::default to your run_list.

Mange fluentd

This cookbook creates ./scripts/start.sh and ./scripts/stop.sh.

./scripts/start.sh 
starting fluentd ...

## puts pid to ./var/fluentd.pid
## outputs log to log/fluentd.log
# ./scripts/stop.sh 
stopping fluentd .OK

You can set these scripts to the process manager such as monit.

TODO

  • version controle
  • not_if bundle check
  • bundle update or outdate check
  • get latest version automatically

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: HiganWorks LLC. (sawanoboriyu@higanworks.com)

Dependent cookbooks

rbenv >= 0.0.0
build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.0 failed this metric

FC064: Ensure issues_url is set in metadata: fluentd_bundle/metadata.rb:1
FC065: Ensure source_url is set in metadata: fluentd_bundle/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fluentd_bundle/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fluentd_bundle/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: fluentd_bundle/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number