From c25e60dd5f88f002bced8689f241b91841544c6f Mon Sep 17 00:00:00 2001 From: Matthew Kent Date: Fri, 27 Oct 2023 10:24:24 -0700 Subject: [PATCH] Don't block on empty roles, they're harmless. --- lib/kamal/configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kamal/configuration.rb b/lib/kamal/configuration.rb index a8e1ae749..2ba442601 100644 --- a/lib/kamal/configuration.rb +++ b/lib/kamal/configuration.rb @@ -249,7 +249,7 @@ def ensure_required_keys_present roles.each do |role| if role.hosts.empty? - raise ArgumentError, "No servers specified for the #{role.name} role" + puts "Warning: No servers specified for the #{role.name} role" end end