Commit f5265012 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Add aegir.make, hostmaster make command and move just the command definitions...

Add aegir.make, hostmaster make command and move just the command definitions to provision too. the code is still in hosting
parent 2a884bd3
core = 6.x
projects[] = "drupal"
projects[hostmaster][version] = 0.4-alpha1
......@@ -130,11 +130,37 @@ function provision_drush_command() {
),
);
$items['hostmaster make'] = array(
'description' => dt('Build a platform containing the Hostmaster user interface for provision.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'arguments' => array(
'/path/to/platform' => dt('The path to create the platform in.')
),
);
$items['hostmaster park'] = array(
'description' => dt('Prepare the site to be migrated to a new platform.'),
'arguments' => array(
'example.com' => dt('The url of the site being migrated.')),
);
$items['hostmaster unpark'] = array(
'description' => dt('Complete the migration of the site to a new platform.'),
'arguments' => array(
'example.com' => dt('The url of the site being migrated.')),
);
return $items;
}
function drush_provision_hostmaster_make($platform) {
drush_backend_invoke('make', array(dirname(__FILE__) . '/aegir.make', $platform));
}
/**
* Generate a provision.settings.php file to configure provision
*/
......
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