kitchen-itamae 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6f3994e1ac830ff95314aa6739d315e5b8ba8f6
4
- data.tar.gz: a0114040ef6d78fb3ff1b75344bb9e1884d1f3d7
3
+ metadata.gz: 9ed0e3eca7d4f48b6b1d726cd2ea73d95f272f83
4
+ data.tar.gz: 3709e5f151b761b8bb740c647364e57fa197c3ec
5
5
  SHA512:
6
- metadata.gz: c037271e99e8089636e3fb6158a22003fdc613b295b7b99838fbaa251db9d9702125bb9863aa3428834ceee5e71f7b2517be775c0de6e68b656a674efc771495
7
- data.tar.gz: e5ce938f9651a91c5271350d2aeb839d1a96dd806a008ee8bf98892d66a05a795d737cd29247ba96013b4f731a0a874628505fb5c5233e7f208bcc6c5c34df5c
6
+ metadata.gz: 584d45d4b5275394fd83427072762c895a965f484a0b0f44f0888f6e0f0d3f17e7751b9187bbbc1d79c670d4f7b58698a98202f757645ed2c6488efbddba7f8d
7
+ data.tar.gz: e1b5dcaea6e14b924ef50c36e32436e19cb421ee43d17063a3be43dc92af531b15e5d2bbdc0b16937d7cc22b881e001eb8ceba97f05b0d9b2a1239ef5fe77c31
@@ -1,5 +1,10 @@
1
1
  CHANGELOG of Itamae::Kitchen
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Bug: Clash on centos6 with Gemfile.
6
+ - set bundle config shebang to chef_omnibus_bin_dir
7
+
3
8
  ## 0.2.2
4
9
 
5
10
  - experimental: append suffix `.rb` for run_list if missing.
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Itamae
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -48,7 +48,8 @@ module Kitchen
48
48
  debug("Prepare Bundler")
49
49
  cmd = ["cd #{config[:root_path]};"]
50
50
  cmd << "if [ -f Gemfile ] ;then"
51
- cmd << "#{sudo("/opt/chef/embedded/bin/bundle")} install --binstubs"
51
+ cmd << "#{sudo("#{config[:chef_omnibus_bin_dir]}/bundle")} config shebang #{config[:chef_omnibus_bin_dir]}/ruby"
52
+ cmd << "#{sudo("#{config[:chef_omnibus_bin_dir]}/bundle")} install --binstubs"
52
53
  cmd << "fi"
53
54
  Util.wrap_command(cmd.join("\n"))
54
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly