Closed (fixed)
Project:
Provision
Version:
6.x-2.x-dev
Component:
Drush integration
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2013 at 00:48 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
trrroy commentedThe attached patch is working for me. Now I can use:
drush provision-save @server_192168123123 --context_type=server --remote_host=192.168.123.123 --db_service_type='mysql' --master_db='mysql://aegir:123pwd@192.168.123.123'
Comment #2
trrroy commentedI also found some other options related to web packs are missing in 2.x, --master_web_servers and --slave_web_servers. Here's an update to this patch to add those too.
Comment #3
anarcat commentedComment #4
anarcat commentedi don't think this is the right way to do this.
normally, those parameters are set directly in the service subclass. in #1784108: pack (and cluster?) modules incompatible with SSL i have a similar issue, and i tried to fix this the "right way", but it failed, see commit 7a86f47 in provision.
those parameters should really propagate upwards, and they don't, and that's a bug that's blocking other functionality so i'm marking this as critical.
Comment #5
steven jones commentedGiven the nature of the provision-save command, maybe we should just allow any option to be sent.
We can do this by specifying the
'allow-additional-options' => TRUEin the Drush command definition.Comment #6
anarcat commentedSo I did that, but it seems to me this should be better implemented in the hook_command. I'll open a separate issue about this: #2009408: missing documentation for sub-classes of Provision_Context_*