cookbook 'chef-unicorn', '= 0.1.4'
chef-unicorn (6) Versions 0.1.4 Follow1
Installs and configure Unicorn server.
cookbook 'chef-unicorn', '= 0.1.4', :supermarket
knife supermarket install chef-unicorn
knife supermarket download chef-unicorn
Unicorn
Installs and configure Unicorn server.
Requirements
Platforms
- Ubuntu 15.04+ (since we use Systemd)
Config
node['chef-unicorn']['config']['backlog']
node['chef-unicorn']['config']['check_client_connection']
node['chef-unicorn']['config']['listen']
node['chef-unicorn']['config']['pid']
node['chef-unicorn']['config']['preload_app']
node['chef-unicorn']['config']['stderr_path']
node['chef-unicorn']['config']['stdout_path']
node['chef-unicorn']['config']['timeout']
node['chef-unicorn']['config']['worker_processes']
node['chef-unicorn']['config']['working_directory']
node['chef-unicorn']['config']['before_fork']
node['chef-unicorn']['config']['after_fork']
Service
node['chef-unicorn']['service']['bundle']
node['chef-unicorn']['service']['bundle_gemfile']
node['chef-unicorn']['service']['chdir']
node['chef-unicorn']['service']['config']
node['chef-unicorn']['service']['environment']
node['chef-unicorn']['service']['gem_home']
node['chef-unicorn']['service']['locale']
node['chef-unicorn']['service']['pidfile']
node['chef-unicorn']['service']['name']
node['chef-unicorn']['service']['user']
Node Configuration
The following nodes is an example of the minimal needed to run correctly this cookbook:
"chef-unicorn": { "config": { "config_file": "/var/www/app/shared/config/unicorn.rb", "listen": "/var/www/app/shared/run/unicorn/unicorn.sock", "pid": "/var/www/app/shared/run/unicorn/unicorn.pid", "stderr_path": "/var/www/app/shared/log/unicorn/error.log", "stdout_path": "/var/www/app/shared/log/unicorn/out.log", "working_directory": "/var/www/app/current" }, "service": { "bundle_gemfile": "/var/www/app/current/Gemfile", "config": "/var/www/app/shared/config/unicorn.rb", "pidfile": "/var/www/app/shared/run/unicorn/unicorn.pid" } }
Unicorn documentation
References
https://github.com/defunkt/unicorn/blob/master/examples/unicorn.conf.rb
Love it!
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
v0.1.4
Updates
- Updates README with instructions.
v0.1.3
Updates
- Fix Testing File Metric on Supermarket;
- Adds tag for Version Tag Metric on Supermarket.
v0.1.2
Fixes
- Fix cookbook name.
v0.1.1
Updates
- Fix some Supermarket lint metrics.
v0.1.0
- First release.
License Metric
0.1.4 passed this metric
0.1.4 passed this metric