Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

psgi (14) Versions 0.0.4

Configures and runs psgi application

Policyfile
Berkshelf
Knife
cookbook 'psgi', '= 0.0.4', :supermarket
cookbook 'psgi', '= 0.0.4'
knife supermarket install psgi
knife supermarket download psgi
README
Dependencies
Quality -%

Description

installs, configures, runs psgi application as fastcgi server

Definitions

psgi_application

Definitions parameters

  • operator (Catalyst|Dancer), default value Catalyst
  • application_user
  • application_home
  • script - path to psgi script
  • daemon_name, optional
  • socket, optional
  • environment, default value {}
  • perl5lib, default value []
  • nproc, default value 1
  • proc_manager, default value nil
  • proc_title, optional
  • mount, default value nil
  • config
  • debug, default value 1
  • plackup_environment, default value development
  • cookbook, default value psgi

Usage example

psgi_application 'my application' do
    application_user    'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/foo.psgi'
    config              '/home/user/app/MyApplication/app.conf'
    action              'install'      
end

# run dancer application
psgi_application 'my application' do
    application_user    'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/foo.psgi'
    config              '/home/user/app/MyApplication/app.conf'
    operator            'Dancer'
    action              'install'      
end

# test application
psgi_application 'my application' do
    application_user    'user'
    application_group   'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/foo.psgi'
    config              '/home/user/app/MyApplication/app.conf'
    action              'test'      
end

# usage with non system plackup
psgi_application 'my application' do
    application_user    'user'
    application_home    '/home/user/app/MyApplication'
    script              '/home/user/app/MyApplication/scripts/foo.psgi'
    config              '/home/user/app/MyApplication/app.conf'
    action              'install'
    daemon_path         '/home/user/app/MyApplication/cpanlib/bin/plackup'      
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found