OSDN Git Service

bug fix.
authorwhitestar <whitestar@users.osdn.me>
Wed, 22 Aug 2018 12:39:34 +0000 (21:39 +0900)
committerwhitestar <whitestar@users.osdn.me>
Wed, 22 Aug 2018 12:39:34 +0000 (21:39 +0900)
cookbooks/docker-grid/recipes/compose.rb

index 8144623..3115977 100644 (file)
@@ -85,7 +85,7 @@ when 'dockerproject'
     pkgs.each {|pkg|
       resources(package: pkg) rescue package pkg do
         action :install
-      end
+      end.run_action(:install)
     }
 
     result = shell_out!('curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name')