Re: [Puppet Users] CPAN package provider?

2011-09-28 Thread qutic development
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 turn up anything very promising in terms of a
> Puppet CPAN package provider.  What are people using to manage Perl
> modules installed through CPAN?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] CPAN package provider?

2011-09-27 Thread Aaron Grewell
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 CPAN?
>
> --
> Jeff Ollie
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] CPAN package provider?

2011-09-27 Thread Jeffrey Ollie
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 this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.