anchor.diff:          Error -> Error
       end.
   
  --spec stop() -> ok | {error, any()}.
  +-spec update_settings(amoc_config:settings()) -> {ok, any()} | {error, any()}.
  +update_settings(Settings) ->
  +    update_settings(Settings, amoc_cluster:slave_nodes()).
  +
  +-spec update_settings(amoc_config:settings(), [node()]) -> {ok, any()} | {error, any()}.
  +update_settings(Settings, Nodes) ->
  +    case check_nodes(Nodes) of
  +        ok -> update_settings_on_nodes(Settings, Nodes);
  +        Error -> Error
  +    end.
  +
  +-spec stop() -> {ok, any()} | {error, any()}.
   stop() ->
       stop_cluster().
   
  
positive.code:          add/2,
           remove/2,
           remove/3,
           stop/0]).
  
  -compile({no_auto_import, [ceil/1]}).
  
negative.code:         {Error, _} -> Error
      end.
  
  -spec add(pos_integer()) -> {ok, any()} | {error, any()}.
  add(Count) ->
      add(Count, amoc_cluster:slave_nodes()).
  
  