• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: コミット

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


コミットメタ情報

リビジョンa8d2ff551d3c3dd115ef6215e12469803c353d0a (tree)
日時2017-12-07 21:20:34
作者whitestar <whitestar@user...>
コミッターwhitestar

ログメッセージ

refactoring.

変更サマリ

差分

--- a/cookbooks/chef_utils/CHANGELOG.md
+++ b/cookbooks/chef_utils/CHANGELOG.md
@@ -1,6 +1,10 @@
11 CHANGELOG for chef_utils
22 =========================
33
4+0.8.5
5+-----
6+- refactoring.
7+
48 0.8.4
59 -----
610 - adds ARM architecture support.
--- a/cookbooks/chef_utils/recipes/chef-client.rb
+++ b/cookbooks/chef_utils/recipes/chef-client.rb
@@ -33,6 +33,7 @@ omnitruck_installer_url = node['chef_utils']['chef-client']['omnitruck_installer
3333 expected_version = "[ \"$(chef-client -v | awk '{ print $2 }')\" = '#{version}' ]"
3434 status_file = '/tmp/install_chef-client_status'
3535
36+# armv7l architecture
3637 if kernel_machine == 'armv7l'
3738 Chef::Log.warn("This chef_utils::chef-client recipe installs Chef by the gem package on #{kernel_machine} architecture.")
3839
@@ -48,12 +49,18 @@ if kernel_machine == 'armv7l'
4849 gem_package 'chef' do
4950 version version
5051 options('--no-rdoc --no-ri')
51- action :install
52+ action :nothing
53+ end
54+
55+ log 'update chef-client at the very end of the chef-client run.' do
56+ notifies :install, 'gem_package[chef]', :delayed
5257 end
5358
5459 return
5560 end
5661
62+# x86_64, i386 architecture
63+
5764 # Pinning chef version
5865 template '/etc/apt/preferences.d/chef.pref' do
5966 source 'etc/apt/preferences.d/chef.pref'
--- a/cookbooks/chef_utils/version
+++ b/cookbooks/chef_utils/version
@@ -1 +1 @@
1-0.8.4
1+0.8.5
旧リポジトリブラウザで表示