MySQLの提供しているYumリポジトリを利用してMySQLの5.6を「セキュアインストール」したい DBサーバ建てるからにはひとつはDB欲しいしそれ用のユーザも欲しい ということでそのあたりをカバーするChefレシピを作成してみました。 「変数」に当たる部分は適宜DataBagなりを使っていただくほうがベターでしょうね。 まずはレシピ # add mysql yum repository remote_file "#{chef::config[:file_cache_path]}/mysql-community-release-el6-5.noarch.rpm" do source 'http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm' action :create end rpm_package "mysql-c