A puppet module that installs ruby thin, sets up site configurations, and an init script for managing services.
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'; }
Only tested on CentOS 6
TODO:
[ ] Allow disabling creating of user/group
License:
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR