diff --git a/lib/knife-solo/bootstraps/linux.rb b/lib/knife-solo/bootstraps/linux.rb index 7a73a077..a6fc0bab 100644 --- a/lib/knife-solo/bootstraps/linux.rb +++ b/lib/knife-solo/bootstraps/linux.rb @@ -52,7 +52,7 @@ def debianoid_gem_install def debianoid_omnibus_install run_command("sudo apt-get update") - run_command("sudo apt-get -y install rsync ca-certificates wget") + run_command("sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' --force-yes -f install rsync ca-certificates wget") omnibus_install end diff --git a/test/gemfiles/Gemfile.chef-10 b/test/gemfiles/Gemfile.chef-10 index b964782a..63fc2e72 100644 --- a/test/gemfiles/Gemfile.chef-10 +++ b/test/gemfiles/Gemfile.chef-10 @@ -7,4 +7,8 @@ gem 'chef', '~> 10' platform :ruby_19 do gem 'berkshelf-api-client', '~> 1.3.1' gem 'varia_model', '~> 0.4.0' + gem 'tins', '~> 1.6.0' + gem 'json', '~> 1.8.1' + gem 'mixlib-config', '~> 1.1.2' + gem 'ohai', '~> 6.24.2' end diff --git a/test/gemfiles/Gemfile.chef-11 b/test/gemfiles/Gemfile.chef-11 index 200f6315..7aab7ea1 100644 --- a/test/gemfiles/Gemfile.chef-11 +++ b/test/gemfiles/Gemfile.chef-11 @@ -8,4 +8,5 @@ platform :ruby_19 do gem 'berkshelf-api-client', '~> 1.3.1' gem 'tins', '~> 1.6.0' gem 'varia_model', '~> 0.4.0' + gem 'ohai', '~> 7.4.1' end