Add ability to set direct access to repositories.
In case of using proxy for APT repositories added ability to exclude
some repositories to use direct access.
Closes-bug: PROD-36122
Change-Id: I5549498885e3204b4ecb56f7eb8c845cb076507c
diff --git a/README.rst b/README.rst
index 979b077..1b25635 100644
--- a/README.rst
+++ b/README.rst
@@ -1144,6 +1144,35 @@
http: http://proxy.host.local:3142
https: https://proxy.host.local:3143
+Package manager direct access setup:
+
+.. code-block:: yaml
+
+ linux:
+ system:
+ ...
+ repo:
+ apt-mk:
+ source: "deb http://apt-mk.mirantis.com/ stable main salt"
+ ...
+ proxy:
+ pkg:
+ enabled: true
+ ftp: ftp://ftp-proxy-for-apt.host.local:2121
+ ...
+ # NOTE: Global defaults for any other componet that configure proxy on the system.
+ # If your environment has just one simple proxy, set it on linux:system:proxy.
+ #
+ # fall back system defaults if linux:system:proxy:pkg has no protocol specific entries
+ # as for https and http
+ ftp: ftp://proxy.host.local:2121
+ http: http://proxy.host.local:3142
+ https: https://proxy.host.local:3143
+ direct:
+ - 192.168.0.100
+ - repo.wo.proxy.local
+
+
Package manager proxy setup per repository:
.. code-block:: yaml