kitchen-itamae 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c070b39d328e44d4c108ca00bc996616fc5c238c
4
- data.tar.gz: f4e708ecdd2f708af9045e7a2b8160ae42264462
3
+ metadata.gz: bba92b3fe6fb4188c4fd6394bbd6fdc779555dff
4
+ data.tar.gz: fbe3fbc1efdb2b878d1186153f2ba93de6ed182e
5
5
  SHA512:
6
- metadata.gz: 8868091d0b8f06b3665041ac5e311974f78401ef4e305e2d1a7a28605ecd9122a5226c80c732337458a93eed52102acfb904139419099bf63195a71c82dd81b9
7
- data.tar.gz: 35b92412fade8396a8dde69a4a4f47c5008c0ee9abe2e850600ca15b0e0037458bb652cd84cbcf381d5d599741a9be23b1029a8bbdde8b124282dd7a261a04ee
6
+ metadata.gz: 7ca0739bd614b43b9317479dea35c8eebaabbfb3c5d3b34ef3bccdbb5aa54feebc533f5560eae3f060c6bb8537fff1b58bd518d5807770f961eaaa3162fc9fd4
7
+ data.tar.gz: beaea3a1ebf505ffaa6092c55efc9851b4031ab0fb2ce264a381fd7b07e0f1aef8eb3440aa314b57e4bcbf436d490a49ebf6f688ca9fff2160e35e0d096538fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  CHANGELOG of Itamae::Kitchen
2
2
 
3
+ ## 0.0.3
4
+
5
+ - use chef-apply for install itamae-plugins(idempotent operation).
6
+
3
7
  ## 0.0.2
4
8
 
5
9
  - cleanup code
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Kitchen::Itamae
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/kitchen-itamae.svg)](http://badge.fury.io/rb/kitchen-itamae)
4
+
3
5
  itamae provisioner for test-kitchen
4
6
 
5
7
 
@@ -37,7 +37,7 @@ module Kitchen
37
37
  cmd << "#{sudo("rm")} -rf #{config[:root_path]} ; mkdir -p #{config[:root_path]}"
38
38
  debug("Cleanup Kitchen Root")
39
39
  config[:itamae_plugins].map do |plugin|
40
- cmd << "#{sudo(File.join(config[:chef_omnibus_bin_dir], "gem"))} install itamae-plugin-recipe-#{plugin} --no-ri --no-rdoc"
40
+ cmd << %Q{#{sudo('chef-apply')} -e "chef_gem %Q{itamae-plugin-recipe-#{plugin}} do action :upgrade end"}
41
41
  end
42
42
  Util.wrap_command(cmd.join("\n"))
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Itamae
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen