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

catalyst (7) Versions 0.0.31

catalyst application resource provider (LWRP)

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

DESCRIPTION

catalyst application resource provider (LWRP)

  • start your catalyst application as fast cgi server

Supports OS

  • gentoo (tested with Calculate Linux Desktop 9.6)
  • ubuntu (tested with 11.10 server amd64)

Requirements

  • Catalyst

RESOURCE ACTIONS

  • install - install catalyst application

RESOURCE ATTRIBUTES

  • obligatory attrubutes
    • application_user - a user name that we should change to before starting application
    • application_group - a group name that we should change to before starting application
    • application_home - a directory where application and all it's prerequsites live
    • application_script - a name of script to start application
    • catalyst_config - a path to catalyst config file
  • optional attributes
    • perl5lib - an array of perl5lib pathes
    • nproc - Integer, a number of processes will be launched when application start in fastcgi mode, default value 1
    • envvars - a hash of environment vars, passed to application environment
    • proc_manager - a perl class, implimenting Fast CGI Process ProcManager, default FCGI::ProcManager
    • socket - a socket, application will be binded to

Usage

catalyst_application 'foo' do
    application_user 'alex'
    application_group 'users'
    application_home '/home/alex/catalyst-applications/foo'
    application_script 'foo_fastcgi.pl'
    catalyst_config '/home/alex/catalyst-applications/foo.conf'
    action 'install'
end

Now you may do this:

/etc/init.d/foo start
/etc/init.d/foo stop
/etc/init.d/foo restart

Links

ToDo

  • fullfill cucumber tests for ubuntu

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

catalyst-fastcgi Applicable Versions

No quality metric results found