/// <summary>
 /// Applies the specified config change defined by <paramref name="nodeConfigUpdater"/> to
 /// <see cref="ClusterConfiguration.Defaults"/> and all the node configurations currently
 /// defined in <see cref="ClusterConfiguration.Overrides"/>.
 /// </summary>
 /// <param name="config">The cluster configuration object to add provider to.</param>
 /// <param name="nodeConfigUpdater">The function to apply to each node configuration.</param>
 public static void ApplyToAllNodes(this ClusterConfiguration config, Action <NodeConfiguration> nodeConfigUpdater)
 {
     foreach (var nodeConfiguration in config.GetDefinedNodeConfigurations())
     {
         nodeConfigUpdater.Invoke(nodeConfiguration);
     }
 }