As part of http://drupal.org/node/321942 we should create a provision setup command, which can get input from the user to configure their provision command, but should also be able to run using only drush parameters, for integration with hosting.

IE: when verifying a platform that has never been verified, it will pass along the necessary variables to it to generate the configuration file.

Some of the things we do in hosting setup now, should be moved to provision setup, and hosting setup should call the provision setup function to set up it's own platform.

Comments

adrian’s picture

Status: Active » Needs work

The basics of this have been added to the code now.

There's now a provision setup command (when hosting setup isn't available), which checks the paths and makes sure the platform is working.

adrian’s picture

err. it also creates the drush.php link, needed to communicate with the platform.

and hosting setup uses this command as a basis and then adds the dispatch checking.

adrian’s picture

Now works perfectly.

Still not generating a config file at this point.

adrian’s picture

Status: Needs work » Fixed

in head now

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

  • Commit 72da049 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by adrian:
    #321944 - provision setup command added. this is a subset of the hosting...