Grid環境構築用のChefリポジトリです。
Revision | a8d2ff551d3c3dd115ef6215e12469803c353d0a (tree) |
---|---|
Time | 2017-12-07 21:20:34 |
Author | whitestar <whitestar@user...> |
Commiter | whitestar |
refactoring.
@@ -1,6 +1,10 @@ | ||
1 | 1 | CHANGELOG for chef_utils |
2 | 2 | ========================= |
3 | 3 | |
4 | +0.8.5 | |
5 | +----- | |
6 | +- refactoring. | |
7 | + | |
4 | 8 | 0.8.4 |
5 | 9 | ----- |
6 | 10 | - adds ARM architecture support. |
@@ -33,6 +33,7 @@ omnitruck_installer_url = node['chef_utils']['chef-client']['omnitruck_installer | ||
33 | 33 | expected_version = "[ \"$(chef-client -v | awk '{ print $2 }')\" = '#{version}' ]" |
34 | 34 | status_file = '/tmp/install_chef-client_status' |
35 | 35 | |
36 | +# armv7l architecture | |
36 | 37 | if kernel_machine == 'armv7l' |
37 | 38 | Chef::Log.warn("This chef_utils::chef-client recipe installs Chef by the gem package on #{kernel_machine} architecture.") |
38 | 39 |
@@ -48,12 +49,18 @@ if kernel_machine == 'armv7l' | ||
48 | 49 | gem_package 'chef' do |
49 | 50 | version version |
50 | 51 | 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 | |
52 | 57 | end |
53 | 58 | |
54 | 59 | return |
55 | 60 | end |
56 | 61 | |
62 | +# x86_64, i386 architecture | |
63 | + | |
57 | 64 | # Pinning chef version |
58 | 65 | template '/etc/apt/preferences.d/chef.pref' do |
59 | 66 | source 'etc/apt/preferences.d/chef.pref' |
@@ -1 +1 @@ | ||
1 | -0.8.4 | |
1 | +0.8.5 |