author | ymh <ymh.work@gmail.com> |
Tue, 18 Oct 2016 14:38:56 +0200 | |
changeset 353 | bf1bc6b08c46 |
permissions | -rw-r--r-- |
353
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
$aliases['<%= @alias_name %>'] = array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
<% if @parent -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
'parent' => '<%= @parent %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
<% if @root -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
'root' => '<%= @root %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
<% if @uri -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
'uri' => '<%= @uri %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
10 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
11 |
<% if @remote_host -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
'remote-host' => '<%= @remote_host %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
<% if @remote_user -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
'remote-user' => '<%= @remote_user %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
16 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
<% if @ssh_options -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
'ssh-options' => '<%= @ssh_options %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
<% if @db_url -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
21 |
'db-url' => '<%= @db_url %>', |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
23 |
<% if @custom_options -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
24 |
<%- @custom_options.each do |key, value| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
25 |
<%= "'#{key}' => '#{value}'" %>, |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
26 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
27 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
28 |
<% if @path_aliases -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
29 |
'path-aliases' => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
30 |
<%- @path_aliases.each do |key, value| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
31 |
<%= "'#{key}' => '#{value}'" %>, |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
32 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
33 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
34 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
35 |
<% if @command_specific -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
36 |
'command-specific' => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
37 |
<%- @command_specific.each do |command, options| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
38 |
<%= "'#{command}'" %> => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
39 |
<%- options.each do |key, value| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
40 |
<%- value = "'#{value}'" unless [true, false].include? value -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
41 |
<%= "'#{key}' => #{value}" -%>, |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
42 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
43 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
44 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
45 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
46 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
<% if @source_command_specific -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
48 |
'source-command-specific' => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
49 |
<%- @source_command_specific.each do |command, options| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
50 |
<%= "'#{command}'" %> => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
51 |
<%- options.each do |key, value| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
52 |
<%- value = "'#{value}'" unless [true, false].include? value -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
53 |
<%= "'#{key}' => #{value}" -%>, |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
54 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
55 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
56 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
57 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
58 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
59 |
<% if @target_command_specific -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
60 |
'target-command-specific' => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
61 |
<%- @target_command_specific.each do |command, options| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
62 |
<%= "'#{command}'" %> => array( |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
63 |
<%- options.each do |key, value| -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
64 |
<%- value = "'#{value}'" unless [true, false].include? value -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
65 |
<%= "'#{key}' => #{value}" -%>, |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
66 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
67 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
68 |
<%- end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
69 |
), |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
70 |
<% end -%> |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
71 |
); |
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
72 |