エラー内容
Recipe: php54::default
* package[php] action install
================================================================================
Error executing action `install` on resource 'package[php]'
================================================================================
Chef::Exceptions::Package
-------------------------
Version 5.4.14-1.el5.remi of php not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)
適切な(yumリポジトリが保有している)バージョンを指定できていないのが問題。
対策
そもそもバージョン指定しない。
chef-repo/cookbooks/mysql55/recipes/default.rb
%w{mysql-server mysql-devel}.each do |pkg|
package pkg do
action :install
# version node['mysql55']['version']
end
end
chef-repo/cookbooks/mysql55/attributes/default.rb
#default['mysql55']['version'] = "5.5.34-1.el5.remi"
default['mysql55']['server-id'] = "0"
バージョン指定したい場合は・・
該当バージョンを保有するremi/epel/rpmforge etcが入るように、別途調節する必要がある。
//TODO 希望のバージョンのミドルウェアが含まれているリポジトリを探す効率の良い方法を追加調査。