summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/manifests/haproxy.pp
blob: b69c69dafda48e898816b11ac3969783d763b808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class site_webapp::haproxy {

  include site_haproxy

  $haproxy     = hiera('haproxy')

  # 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'),
  }
}