]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/docker/recipes/default.rb
Allow testing docker with the overlay2 storage driver
[chef.git] / cookbooks / docker / recipes / default.rb
index bfdc88a09c8ec018272b2bee0fef0b1d1f0f9a72..1dfe9adde7be0a60964551186b867a7e1aa30735 100644 (file)
@@ -31,18 +31,11 @@ directory "/etc/docker" do
   mode "755"
 end
 
   mode "755"
 end
 
-storage_driver = if kitchen?
-                   "vfs"
-                 else
-                   "overlay2"
-                 end
-
 template "/etc/docker/daemon.json" do
   source "daemon.json.erb"
   owner "root"
   group "root"
   mode "644"
 template "/etc/docker/daemon.json" do
   source "daemon.json.erb"
   owner "root"
   group "root"
   mode "644"
-  variables :storage_driver => storage_driver
 end
 
 service "docker" do
 end
 
 service "docker" do