Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

melezhik's scratchpad

by melezhik (Monk)
on May 30, 2012 at 11:47 UTC ( [id://973268] : scratchpad . print w/replies, xml ) Need Help??

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 install_base and install_path
 * installing from tarball
 * installing within given cwd
 * and others

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