cookbook 'chef-sidekiq', '~> 0.1.0'
chef-sidekiq (1) Versions 0.1.0 Follow1
Configure Sidekiq service.
cookbook 'chef-sidekiq', '~> 0.1.0', :supermarket
knife supermarket install chef-sidekiq
knife supermarket download chef-sidekiq
Sidekiq
Configure Sidekiq service.
Requirements
Platforms
- Ubuntu 15.04+ (since we use Systemd)
Service
Attribute | Default |
---|---|
default['chef-sidekiq']['config']['working_directory'] | '/app' |
default['chef-sidekiq']['service']['bundle'] | '/usr/bin/bundle' |
default['chef-sidekiq']['service']['gem_home'] | '/usr/local/ruby/gem' |
default['chef-sidekiq']['service']['group'] | nil |
default['chef-sidekiq']['service']['kill'] | nil |
default['chef-sidekiq']['service']['locale'] | 'en_US.UTF-8' |
default['chef-sidekiq']['service']['name'] | 'sidekiq' |
default['chef-sidekiq']['service']['type'] | 'simple' |
default['chef-sidekiq']['service']['user'] | 'deploy' |
default['chef-sidekiq']['service']['watchdogsec'] | nil |
Usage
Berkfile
source 'https://supermarket.chef.io' cookbook 'chef-sidekiq'
Node
Example how to override default configs:
{ "chef-sidekiq": { "config": { "working_directory": "/var/www/app-name/current" }, "service": { "watchdogsec": 5 } }, "run_list": [ "recipe[chef-sidekiq]" ] }
Sidekiq documentation
https://github.com/mperham/sidekiq/wiki
References
https://github.com/mperham/sidekiq/blob/master/examples/systemd/sidekiq.service
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
v0.1.0
- First release.
Collaborator Number Metric
0.1.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.1.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.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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.1.0 failed this metric
0.1.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.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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.1.0 passed this metric
0.1.0 passed this metric
Testing File Metric
0.1.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.1.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.1.0 failed this metric
0.1.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