unicorn

Install and manage Unicorn, a fast rack HTTP server
Puppet Operations

Puppet Operations

ploperations

66,168 downloads

64,840 latest version

3.6 quality score

Version information

  • 1.1.0 (latest)
  • 1.0.0
released Aug 12th 2014

Start using this module

Documentation

ploperations/unicorn — version 1.1.0 Aug 12th 2014

puppet-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.