Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 799 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 799 Bytes

What is it?

A puppet module that installs ruby thin, sets up site configurations, and an init script for managing services.

Usage:

Generic thin install

  class { 'thin': }

Adding a thin site

  thin::site { 'coolapp':
    chdir       => '/usr/share/coolapp',
    log         => '/var/log/coolapp/coolapp.log',
    port        => 3200,
    user        => 'coolapp',
    group       => 'coolapp',
    servers     => 1,
    environment => 'production';
  }

Known Issues:

Only tested on CentOS 6

TODO:


[ ] Allow disabling creating of user/group

License:


Released under the Apache 2.0 licence

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR