chef-deploy-drupal icon indicating copy to clipboard operation
chef-deploy-drupal copied to clipboard

create drush status command

Open amirkdv opened this issue 12 years ago • 1 comments

Currently we run "drush si" only_if DRUSH_STATUS_CMD:

drush status --fields=db-status
  | grep Connected
  | wc -l
  | xargs test 0 -eq

This needs to be refind. Currently, if settings.php is missing, this will obliterate the database. Also look at this in the dev-notes.

amirkdv avatar Jul 02 '13 21:07 amirkdv

Along the same line, it would be more robust to use a drush command instead of test -f /path/to/index.php to check for an existing Drupal site.

amirkdv avatar Jul 03 '13 16:07 amirkdv