我在这个文档中已经走得很远了。http://gettingstartedwithchef.com/first-steps-with-chef.html
直到PHP安装步骤。下载php并将php包含在default.rb 中
然而,在运行厨师独奏时出现以下错误
配方:php::package*yum_package[php]操作安装(最新)*yum_package[php-devel]操作安装*没有指定版本,也没有可用于php-devel的候选版本================================================================================在资源'yum_package[php-devel]'上执行操作install
时出错=============================================
Chef::Exceptions::Package
-------------------------
No version specified, and no candidate version available for php-devel
厨师Solo刚辞职。有什么想法吗?
谢谢,FG
我的Red Hat Enterprise Linux Server 6.5版(Santiago)不需要"php-devel"。
我从/root/chef-repo/cookbooks/php/attributes/default.rb
中删除了"php-devel",现在就可以工作了。