melezhik / cookbooks

perl chef cookbooks
https://github.com/melezhik/cookbooks
21 stars 27 forks source link

Use the pinto installer instead of running cpanm directly #9

Closed thaljef closed 11 years ago

thaljef commented 11 years ago

Rather than directly using cpanm to install Pinto, I suggest calling the install script like this:

curl -L http://getpinto.stratopan.com | bash

That will insulate you from changes in where I host the repository that supplies the modules for Pinto. However, this commits you to installing Pinto as a stand-alone application (rather than dumping it into PERL5LIB). For your purposes, I think that is probably the right thing to do.

melezhik commented 11 years ago

To install like this is ok. But there are some dependencies missed for now - Time::HiRes, CGI, Module::CoreList. Could you please add them into your pinto repository? Then l will able to rely totaly upon your install script, without installing any other cpan modules in my cookbook explicitly.

thaljef commented 11 years ago

The repository should have sufficient modules for perls 5.8.9 or newer. What version are you trying to use?

Did you see the note from @miyagawa that cpanm does not support older perls?

melezhik commented 11 years ago

This modules lack has been appear, on fresh perls, I will give you more details later, do not have pc with environment by my hand. Yes I have read the issue you meant.

melezhik commented 11 years ago

Concerning Module::CoreList see my comment on another issue - https://github.com/thaljef/Pinto/issues/67#issuecomment-17796085

melezhik commented 11 years ago

done in version 0.1.4, but see centOS workaround ...