X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ebe7ceb136d38c41bcc193b93bb2f619ffe61944..a406b373ee9a85b2f79e187b582379326b7b70d2:/cookbooks/docker/recipes/default.rb diff --git a/cookbooks/docker/recipes/default.rb b/cookbooks/docker/recipes/default.rb index 54d65dfe5..890c1c21f 100644 --- a/cookbooks/docker/recipes/default.rb +++ b/cookbooks/docker/recipes/default.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apt" +include_recipe "apt::docker" package %w[ docker-ce @@ -28,18 +28,17 @@ package %w[ directory "/etc/docker" do owner "root" group "root" - mode 0o755 + mode "755" end template "/etc/docker/daemon.json" do source "daemon.json.erb" owner "root" group "root" - mode 0o644 + mode "644" end service "docker" do action [:enable, :start] subscribes :restart, "template[/etc/docker/daemon.json]" - not_if { ENV["TEST_KITCHEN"] } end