You can use a define:
define perl::installCPAN () {
exec { "cpan_install_$name":
command => "/usr/bin/cpan -i \"$name\"",
timeout => 600,
unless => "perl -e \"use $name\"",
require => Package['perl'],
}
}
On 27.09.2011, at 16:59, Jeffrey Ollie wrote:
> Google searches don't
We're not using CPAN. Modules are installed as RPMs in our environment.
On Tue, Sep 27, 2011 at 7:59 AM, Jeffrey Ollie wrote:
> Google searches don't turn up anything very promising in terms of a
> Puppet CPAN package provider. What are people using to manage Perl
> modules installed through C
Google searches don't turn up anything very promising in terms of a
Puppet CPAN package provider. What are people using to manage Perl
modules installed through CPAN?
--
Jeff Ollie
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to th