solar-resources/resources/haproxy_config/1.0.0
Maciej Kwiek e51ac240c3 Change sudo to become in ansible resources
As we are using ansible 2.0, we should move from sudo to become to avoid
deprecation.

Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f
Closes-bug: 1547430
2016-02-22 10:05:54 +01:00
..
actions Change sudo to become in ansible resources 2016-02-22 10:05:54 +01:00
templates Change resources structure to match repository one 2015-12-18 18:01:20 +01:00
meta.yaml Change resources structure to match repository one 2015-12-18 18:01:20 +01:00
README.md Change resources structure to match repository one 2015-12-18 18:01:20 +01:00

haproxy_config resource

This resource represents configuration for the haproxy_service resource. Each service represented by Haproxy is connected to this resource via haproxy_service_config resource. This is because in Haproxy there is no support for something like /etc/haproxy/conf.d directory where you put each config in a separate file, but instead you must collect all configuration in one file.

So this resource renders this file from data provided by collecting individual haproxy_service_config data.