Skip to content
This repository has been archived by the owner on Apr 10, 2021. It is now read-only.

Install and manage Unicorn: Rack HTTP server for fast clients and Unix

License

Notifications You must be signed in to change notification settings

puppetlabs-operations/puppet-unicorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-unicorn

This repository has been archived and migrated to ploperations/ploperations-unicorn

Install and run unicorn.

Synopsis

unicorn::app { 'my-sinatra-app':
  approot     => '/opt/my-sinatra-app',
  pidfile     => '/opt/my-sinatra-app/unicorn.pid',
  socket      => '/opt/my-sinatra-app/unicorn.sock',
  user        => 'sinatra',
  group       => 'sinatra',
  preload_app => true,
  rack_env    => 'production',
  source      => 'bundler',
  require     => [
    Class['ruby::dev'],
    Bundler::Install[$app_root],
  ],
}

Usage

Unicorn applications can either be run using the system unicorn (installed via gems) or out of bundler. To make this selection, use the source parameter for the defined type.

Requirements

  • Debian something.

About

Install and manage Unicorn: Rack HTTP server for fast clients and Unix

Resources

License

Stars

Watchers

Forks

Packages

No packages published