melezhik / cookbooks

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

Default CentOS sudoers file breaks CPAN #24

Open chewi opened 9 years ago

chewi commented 9 years ago

This isn't the cookbook's fault but you should include a note to say that requiretty in the default CentOS sudoers file breaks CPAN. It took me a while to figure this out. Using the sudo cookbook is one way to work around this.

In other news, CentOS 7 has a package for cpanminus. You might want to look into that.

melezhik commented 9 years ago

Yeah. cpanminus in many ways better than cpan, but rewriting cpan_client to it will take some time, and I do not plan to do this, mostly because I do not use cpan_client anymore ...