diff options
author | elijah <elijah@riseup.net> | 2014-06-21 02:52:43 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-06-25 18:17:39 -0700 |
commit | 26cbd9a70c4b19b591a6f865812f0ad98de2668c (patch) | |
tree | 722c9e92cbb3cde72bd131c31e308f2435a89fa6 /puppet/modules/site_haproxy/templates/haproxy.cfg.erb | |
parent | 73674f928756321a6b35f06a62a0ff1cf0ff479b (diff) |
haproxy: support read only couchdb mirrors
Diffstat (limited to 'puppet/modules/site_haproxy/templates/haproxy.cfg.erb')
-rw-r--r-- | puppet/modules/site_haproxy/templates/haproxy.cfg.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_haproxy/templates/haproxy.cfg.erb b/puppet/modules/site_haproxy/templates/haproxy.cfg.erb new file mode 100644 index 00000000..8311b1a5 --- /dev/null +++ b/puppet/modules/site_haproxy/templates/haproxy.cfg.erb @@ -0,0 +1,11 @@ +<%- @haproxy.each do |frontend, options| -%> +<%- if options['servers'] -%> + +## +## <%= frontend %> +## + +<%= scope.function_templatewlv(["site_haproxy/#{frontend}.erb", options]) %> +<%- end -%> +<%- end -%> + |