blob: 4a7e3c254438b6e8415dce6867a6cc3e0bf4e7a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | 
class site_webapp::haproxy {
  include site_haproxy
  $haproxy     = hiera('haproxy')
  $local_ports = $haproxy['local_ports']
  # Template uses $global_options, $defaults_options
  concat::fragment { 'leap_haproxy_webapp_couchdb':
    target  => '/etc/haproxy/haproxy.cfg',
    order   => '20',
    content => template('site_webapp/haproxy_couchdb.cfg.erb'),
  }
}
  |