Commit e6c79233 authored by drumm's avatar drumm Committed by Neil Drumm

Cluster platforms should be working.

parent 3577fa5f
......@@ -149,7 +149,11 @@ class hostingService_server_base extends hostingService {
$task->context_options['remote_host'] = $this->server->title;
$task->context_options['script_user'] = $this->script_user;
$task->context_options['config_path'] = $this->config_path;
if (!drush_is_local_host($task->context_options['remote_host'])) {
if (drush_is_local_host($task->context_options['remote_host'])) {
$task->context_options['config_path'] = $this->config_path;
}
else {
$task->context_options['config_path'] = $this->config_path . '--' . $this->server->title;
$task->context_options['file_service_type'] = 'remote';
}
}
......
......@@ -64,5 +64,6 @@ class hostingService_http_cluster extends hostingService_http {
parent::context_options($task_type, $ref_type, $task);
$task->context_options['cluster_web_servers'] = implode(',', array_values(array_map('hosting_context_name', array_intersect_key($this->web_servers, hosting_get_servers('http')))));
$task->context_options['file_service_type'] = 'cluster';
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment