Completed kitchen tests control
Change-Id: I12c95a083c8b42ca16d6e3340f54fca8fb5eccbd
diff --git a/src/com/mirantis/mk/Ruby.groovy b/src/com/mirantis/mk/Ruby.groovy
index fa7c0ea..ff2d3fb 100644
--- a/src/com/mirantis/mk/Ruby.groovy
+++ b/src/com/mirantis/mk/Ruby.groovy
@@ -20,7 +20,18 @@
*/
def installKitchen(){
sh """rbenv exec gem install bundler;
- rbenv exec gem install test-kitchen"""
+ rbenv exec gem install test-kitchen;"""
+ sh """ test -e Gemfile || cat <<EOF > Gemfile
+ source 'https://rubygems.org'
+ gem 'rake'
+ gem 'test-kitchen'
+ gem 'kitchen-docker'
+ gem 'kitchen-inspec'
+ gem 'inspec'
+ gem 'kitchen-salt', :git => 'https://github.com/epcim/kitchen-salt.git', :branch => 'dependencis-pkg-repo2'
+ #Waiting for PR#78
+ #gem 'kitchen-salt', '>=0.2.25'"""
+ sh "rbenv exec bundler install --path vendor/bundle"
}
/**