Commit graph

3 commits

Author SHA1 Message Date
Franck Cuny
9231f0c634 Alias name to pkg. 2012-11-28 16:04:10 -08:00
Franck Cuny
77ec020696 Add the mirror option and verify if a package is already installed.
By default, the cpanm client will use a default mirror to download
libraries, but it's possible for the end user to pass a different URL.

Since ansible favorite idempotence when possible, we verify if the
module is already installed before running the cpanm client.

Another minor additional change, the `notest` option is now a boolean.
2012-11-28 10:46:06 -08:00
Franck Cuny
36d54d66fe Simple module to install Perl libraries via cpanm.
cpanm is a popular alternative to the CPAN client for installing Perl
libraries.  Unfortunately it can't uninstall already installed module, so it
can't handle states.
2012-11-27 16:22:47 -08:00