On Aug 6, 11:13 am, Douglas Wilson <[email protected]> wrote:
> I'm trying to create a simple CPAN type and started with the code from
> this page:http://www.windley.com/archives/2008/10/using_puppet_and_cpan.shtml
>
> I've tried all versions of code from that page, and what I'd like to
> do is:
>
> class perl {
>   define install-cpan () {

The main mistake seems to have been the "-" in the "install-cpan". I
copied one of the solutions from one of the comments in the blog
post...the other answers used "_" instead. I thought I tried the other
answers, but I probably left in the "-".

Anyway, I also answered my own question over at ServerFault:
http://serverfault.com/questions/168644/cpan-installer-for-puppet-cant-find-relationship-target
And related question at stackoverflow (automating CPAN config):
http://stackoverflow.com/questions/3462058/how-do-i-automate-cpan-configuration

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

Reply via email to