webapp/app/controllers/scripts_controller.rb in cloud-toaster-1.1.4 vs webapp/app/controllers/scripts_controller.rb in cloud-toaster-1.1.5

- old
+ new

@@ -111,10 +111,10 @@ params[:recipes].split(/[\s,;]+/).each do |rec| recipe_info = ChefUtil.parse_resources( params[:cookbook], rec, params[:cookbook_version])[params[:cookbook]][rec] recipe_info["resources"].each do |line,code| action = "__action__" - resource = "__action__" + resource = "__resource__" if recipe_info["resource_objs"][line] action = recipe_info["resource_objs"][line].action action = action.join(" , ") if action.kind_of?(Array) resource = recipe_info["resource_objs"][line].resource_name end