cookbook 'psgi', '= 0.0.2'
psgi (14) Versions 0.0.2 Follow1
Configures and runs psgi application
cookbook 'psgi', '= 0.0.2', :supermarket
knife supermarket install psgi
knife supermarket download psgi
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
- 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
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
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
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.