Chef-soloでyumリポジトリを追加する(Node.jsのインストール)
前回使った
http://community.opscode.com/cookbooks/yum
で、鍵やリポジトリの追加もできるので、
を使ってNode.jsをインストールしてみます。
yum_key "RPM-GPG-KEY-tchol" do url "http://nodejs.tchol.org/RPM-GPG-KEY-tchol" action :add end yum_repository "nodejs-stable" do description "Stable releases of Node.js" url "http://nodejs.tchol.org/mirrors/nodejs-stable-el$releasever" mirrorlist true enabled 1 #key "RPM-GPG-KEY-tchol" end package "nodejs"
現時点では、
EL5 packages are currently unsigned due to incompatibilities between the RPM in modern Fedora and the version of RPM included with EL5.
とのことなので、鍵は追加はしてありますが使っていません。