Commit 712cf522 authored by anarcat's avatar anarcat Committed by anarcat

add a proper remote host for the dbserver

parent 6a8c06e8
......@@ -133,6 +133,7 @@ function drush_provision_hostmaster_install($site = NULL) {
} else {
$dbserver = '@server_' . drush_get_option('aegir_db_host');
$dbserver_context = array(
'remote_host' => drush_get_option('aegir_db_host'),
'context_type' => 'server',
'db_service_type' => 'mysql',
'master_db' => $master_db,
......@@ -164,7 +165,12 @@ function drush_provision_hostmaster_install($site = NULL) {
'root' => $platform,
'makefile' => drush_get_option('makefile'),
));
provision_backend_invoke($platform_name, 'provision-verify');
// propagate working-copy args downward
$options = array();
if (drush_get_option('working-copy')) {
$options['working-copy'] = 1;
}
provision_backend_invoke($platform_name, 'provision-verify', array(), $options);
// exit if an error has occured.
if (drush_get_error()) {
......
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