blob: 3c408a2d69845f0cebd5ea2cec4e639af68e733f [file] [log] [blame]
Jiri Broulikdd3a86a2017-09-21 10:59:08 +02001---
2features:
3 - |
4 Added system metadata to set upstream proxy for the MAAS, Gerrit, Jenkins,
5 and Aptly services.
6
7 **To apply the change to an existing cicd cluster deployment:**
8
9 #. Set the ``http_proxy`` parameter in
10 ``cluster.<CLUSTER_NAME>.cicd.control.init.yml``:
11
12 .. code-block:: yaml
13
14 parameters:
15 _param:
16 http_proxy: 'http://<<upstream_proxy_address>>:<<upstream_proxy_port>>'
17
18 #. Apply the :command:`docker.client` state:
19
20 .. code-block::
21
22 salt -C 'I@docker:client' state.sls docker.client
23
24 **To apply the change to an existing maas deployment:**
25
26 #. Configure ``upstream_proxy`` for MAAS:
27
28 .. code-block:: yaml
29
30 maas:
31 region:
32 upstream_proxy:
33 address: <<upstream_proxy_address>>
34 port: <<upstream_proxy_address>>
35
36 #. On the Salt Master node, update the MaaS Salt formula to latest:
37
38 .. code-block::
39
40 salt-call state.sls salt.master
41
42 #. On the MAAS node, apply the :command:`maas.region` state:
43
44 .. code-block::
45
46 salt-call state.sls maas.region
47 reboot
48