• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: コミット

Grid環境構築用のChefリポジトリです。


コミットメタ情報

リビジョン5ce6757dcd08aefe86014d3d6782f62dc36a5093 (tree)
日時2018-08-22 18:59:50
作者whitestar <whitestar@user...>
コミッターwhitestar

ログメッセージ

refactoring.

変更サマリ

差分

--- a/cookbooks/docker-grid/recipes/compose.rb
+++ b/cookbooks/docker-grid/recipes/compose.rb
@@ -75,10 +75,11 @@ end
7575
7676 case install_flavor
7777 when 'dockerproject'
78- # latest version
79- # %x(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name).chomp
8078 release_url = node['docker-grid']['compose']['release_url']
81- expected_ver = release_url.match(/(\d+\.\d+.\d+)/)[1]
79+ expected_ver = release_url.match(/(\d+\.\d+.\d+)/)
80+ expected_ver = expected_ver[1] unless expected_ver.nil?
81+ # TODO: latest version
82+ # %x(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name).chomp
8283
8384 execute 'install_docker_compose' do
8485 user 'root'
旧リポジトリブラウザで表示