psgi applications easy install with chef

"Plack - Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)" as said in documentation. Dealing with perl applications deployment, which I do with chef - modern open source platform for configuration, I have written psgi cookbook to configure, install psgi applications. Here are some simple exmaples of usage which are self explanatory.

This snippet of code install

chef pinto cookbook

Pinto is an application for creating and managing a custom CPAN-like repository of Perl modules. You may find many posts on it on the site. I love the idea of pinto, so decided to contribute in some way. So there is pinto cookbook - a chef cookbook to install and configures pinto applications. I hope this cookbook will be useful for pinto users and developers.

perl distributive "early" testing with jenkins

Even though you have a stage servers `like production one', it'd be reasonable to check distributive in production environment before release is happened. I would call it `early` testing. Yes, of course, some subtle bugs will arise only in runtime phase, and unit test cannot cover it all, I say here about prerequisite unmet issues. In perl world unit tests and prerequisites checks are executed in standart way. One follows standard procedure, when installing things.

I put…

jenkins plugin for building perl applications

Jenkins - is well known continues integration server. One of it's great features - one may extend it by writing custom plug-ins.

It implements standard build scheme:
  1. look up source directory
  2. install dependencies into local directory
  3. create distributive

Other features are:
  1. find 'tagged' directory with maximum version number ( implementing install from subversion tags )
  2. applying different patches (…

installing cpan modules with chef

Chef is a systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

I have created cpan cookbook to install cpan modules with chef. It's easy in use, because all the implimenation is hidden providing you simple interface:

cpan_client 'CGI' do
    action 'install'
    install_type 'cpan_module'
    user 'root'
    group 'root'

end

Among cpan_client features are:

  • installing in dry-run mode
  • installing with given installbase and installpath
  • installing from tarball
  • installing within given cwd
  • and others

For more details visit - http://community.opscode.com/cookbooks/cpan