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.
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 ...
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.