Add ability to configure retry parameter for apache proxy
Retry parameter is useful to define maintenance window during
which backend will be unavailable in case it is in error state.
During this period of time connections to the backend won't be
allowed, and apache will give 503 error. More details: [1]
[1] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass
Change-Id: I324fc9c7ecc5f7a68b9c04946693f383453013d4
Related-Prod: https://mirantis.jira.com/browse/PROD-25993
diff --git a/tests/pillar/server_proxy.sls b/tests/pillar/server_proxy.sls
new file mode 100644
index 0000000..ad6e703
--- /dev/null
+++ b/tests/pillar/server_proxy.sls
@@ -0,0 +1,25 @@
+apache:
+ server:
+ enabled: true
+ bind:
+ address: '0.0.0.0'
+ ports:
+ - 80
+ modules:
+ - proxy
+ - proxy_http
+ - proxy_balancer
+ site:
+ apache_proxy_site:
+ enabled: true
+ type: proxy
+ name: site_name
+ proxy:
+ host: 127.0.0.1
+ port: 8080
+ protocol: http
+ retry: 30
+ host:
+ name: 127.0.1.1
+ port: 9001
+ address: 127.0.1.1