summaryrefslogtreecommitdiff
path: root/puppet/modules/site_mx/manifests/haproxy.pp
blob: 988eeaf369aeb93f387fb71e6317d72ac9d146ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class site_mx::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'),
  }
}