Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

Chef | resources | remote_fileで外部ロケーションからファイルを取得

概要

remote_fileで外部ロケーションからファイルを取得

詳細

remote_fileで外部ロケーションからファイルを取得します。

jenkins.war(1.509.4)をダウンロードする
remote_file "/home/vagrant/jenkins.war" do
  source "http://updates.jenkins-ci.org/download/war/1.509.4/jenkins.war"
  owner 'vagrant'
  group 'vagrant'
end

参照

その他詳細については下記公式ドキュメント参照
http://docs.opscode.com/resource_remote_file.html