summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Beaupré2010-11-17 21:08:06 (GMT)
committeranarcat2010-11-17 21:09:08 (GMT)
commit712cf52252e53f993c1ec3e432c8f577bf791bef (patch)
tree38801abc1c2f4c2291db8707e224cec4bc6a6525
parent6a8c06e8e4797ee4fe93120f443224fa5acff73f (diff)
add a proper remote host for the dbserver
-rw-r--r--install.hostmaster.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/install.hostmaster.inc b/install.hostmaster.inc
index 53b25e7..461e2e2 100644
--- a/install.hostmaster.inc
+++ b/install.hostmaster.inc
@@ -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()) {