summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2014-09-27 14:56:11 -0400
committerJon Pugh2014-09-27 14:56:11 -0400
commitd6fdda2c9269c150a832b86add89aca82317f22d (patch)
treeca18558214abc7e74b104a1a69534d555c57d0ca
parente14cc2fc9780b36080e5dd29b176c62ae39571e8 (diff)
-rw-r--r--Provision/Entity/server.php6
-rw-r--r--provision.drush.inc4
2 files changed, 9 insertions, 1 deletions
diff --git a/Provision/Entity/server.php b/Provision/Entity/server.php
index 9e98b6c..388cf42 100644
--- a/Provision/Entity/server.php
+++ b/Provision/Entity/server.php
@@ -25,7 +25,11 @@ class Provision_Entity_server extends Provision_Entity {
'aegir_root' => 'server: Aegir root; default ' . getenv('HOME'),
'master_url' => 'server: Hostmaster URL',
);
- foreach (drush_command_invoke_all('provision_services') as $service => $default) {
+
+ $services = drush_command_invoke_all('provision_services');
+ print_r($services);
+
+ foreach ($services as $service => $default) {
// TODO: replace this file scanning nastiness, with a hook!
$reflect = new reflectionClass('Provision_Service_' . $service);
$base_dir = dirname($reflect->getFilename());
diff --git a/provision.drush.inc b/provision.drush.inc
index 966cd95..cdb89c2 100644
--- a/provision.drush.inc
+++ b/provision.drush.inc
@@ -330,13 +330,17 @@ function drush_provision_save($alias = NULL) {
}
else {
// trigger additional logic that should happen only on save.
+ drush_log('======================= d($alias)->type_invoke("save"); ', 'ok');
d($alias)->type_invoke('save');
// create or update the record
+ drush_log('======================= d($alias)->write_alias() ', 'ok');
d($alias)->write_alias();
}
}
function drush_provision_verify() {
+ drush_log('======================= d()->command_invoke(verify); ', 'ok');
+
d()->command_invoke('verify');
}