Manage Perl modules using CPAN
New in version 2015.5.0.
salt.modules.cpan.
install
(module)Install a Perl module from CPAN
CLI Example:
salt '*' cpan.install Template::Alloy
salt.modules.cpan.
list
()List installed Perl modules, and the version installed
CLI Example:
salt '*' cpan.list
salt.modules.cpan.
remove
(module, details=False)Attempt to remove a Perl module that was installed from CPAN. Because the
cpan
command doesn't actually support "uninstall"-like functionality,
this function will attempt to do what it can, with what it has from CPAN.
Until this function is declared stable, USE AT YOUR OWN RISK!
CLI Example:
salt '*' cpan.remove Old::Package
Generated on April 03, 2018 at 06:37:10 MDT.
You are viewing docs for the previous stable release, 2016.11.9. Switch to docs for the latest stable release, 2017.7.4, or to a recent doc build from the develop branch.
© 2018 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy