diff options
author | Micah Anderson <micah@leap.se> | 2014-05-24 11:40:52 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-05-24 11:40:52 -0400 |
commit | 1585d3694c6c021a11f8363290a57261f5ee4c2b (patch) | |
tree | 6180b2de39b6ea76914873f42e4875440b1557ec /puppet/modules/site_haproxy/manifests | |
parent | a622e49c5df2150049afb6f6ed47177537b7e6da (diff) | |
parent | 27f0d5731593e3a305dbfb315804294960ad204e (diff) |
Merge remote-tracking branch 'cz8s/feature/allow_webapp_and_mx_on_one_host' into develop
Diffstat (limited to 'puppet/modules/site_haproxy/manifests')
-rw-r--r-- | puppet/modules/site_haproxy/manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_haproxy/manifests/init.pp b/puppet/modules/site_haproxy/manifests/init.pp index 1a681373..6bcf3f5c 100644 --- a/puppet/modules/site_haproxy/manifests/init.pp +++ b/puppet/modules/site_haproxy/manifests/init.pp @@ -1,4 +1,5 @@ class site_haproxy { + $haproxy = hiera('haproxy') class { 'haproxy': enable => true, @@ -28,5 +29,13 @@ class site_haproxy { order => '90', source => 'puppet:///modules/site_haproxy/haproxy-stats.cfg'; } + + # Template uses $haproxy + concat::fragment { 'leap_haproxy_webapp_couchdb': + target => '/etc/haproxy/haproxy.cfg', + order => '20', + content => template('site_haproxy/haproxy_couchdb.cfg.erb'), + } + include site_check_mk::agent::haproxy } |