cookbook 'fluentd_bundle', '~> 0.2.0'
fluentd_bundle (1) Versions 0.2.0 Follow0
Installs/Configures fluentd by bundler
cookbook 'fluentd_bundle', '~> 0.2.0', :supermarket
knife supermarket install fluentd_bundle
knife supermarket download fluentd_bundle
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
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- 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
0.2.0 failed this 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
0.2.0 failed this metric
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
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
0.2.0 failed this 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