Update apt cache before running kitchen test suites
authorTom Hughes <tom@compton.nu>
Wed, 26 Oct 2016 19:38:57 +0000 (20:38 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 26 Oct 2016 19:48:00 +0000 (20:48 +0100)
.kitchen.provision.rb [new file with mode: 0644]
.kitchen.yml

diff --git a/.kitchen.provision.rb b/.kitchen.provision.rb
new file mode 100644 (file)
index 0000000..8398bd5
--- /dev/null
@@ -0,0 +1,5 @@
+Vagrant.configure(2) do |config|
+  config.vm.provision "shell", :inline => <<-SHELL
+    apt-get update -y
+  SHELL
+end
index e3e6584..177f20d 100644 (file)
@@ -1,6 +1,9 @@
 ---
 driver:
   name: vagrant
+  provision: true
+  vagrantfiles:
+    - .kitchen.provision.rb
 
 provisioner:
   name: chef_zero