From 1e3d623f7210b60ce9860ddc971d73e6427e289f Mon Sep 17 00:00:00 2001 From: Kevin Pullin Date: Thu, 23 Oct 2014 21:35:25 -0700 Subject: [PATCH] Updated unkown `service_mode` error message Added `cluster` to the error message generated when an unknown `service_mode` is set. --- recipes/_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/_service.rb b/recipes/_service.rb index d937fb8f..3b69e574 100644 --- a/recipes/_service.rb +++ b/recipes/_service.rb @@ -85,7 +85,7 @@ when 'client' service_config['start_join'] = node['consul']['servers'] else - Chef::Application.fatal! %Q(node['consul']['service_mode'] must be "bootstrap", "server", or "client") + Chef::Application.fatal! %Q(node['consul']['service_mode'] must be "bootstrap", "cluster", "server", or "client") end iface_addr_map = {