psgi chef cookbook announce

45 views
Skip to first unread message

Alexey Melezhik

unread,
May 17, 2013, 5:06:57 AM5/17/13
to psgi-...@googlegroups.com
Hi! This post for  someone interested in automatic deploy psgi applications using chef. I am currently working on psgi cookbook.
Installing psgi applications may be easy with chef. Here are some examples. Check out http://community.opscode.com/cookbooks/psgi for details.
  • To install Catalyst application as fast cgi standalone server:
psgi_application 'Catalyst FCGI application' do
    server              'FCGI'
    operator            'Catalyst'
    application_user    'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/app.psgi'
    config              '/home/user/app/MyApplication/app.conf'
    action              'install'      
end
  • To install Dancer application as Starman server, port 5001, host 192.168.0.1:
psgi_application 'Dancer Starman application' do
    server              'Starman'
    operator            'Dancer'
    socket              '192.168.0.1:5001'
    application_user    'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/app.psgi'
    action              'install'      
end
Reply all
Reply to author
Forward
0 new messages