Commit graph

2 commits

Author SHA1 Message Date
Franck Cuny
c0729716c8 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
22766906b0 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