diff options
author | varac <varacanero@zeromail.org> | 2013-04-17 18:35:37 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-07-09 14:16:59 +0200 |
commit | 424dcefa2ab51a2185935b11d910bd2dbab8d1fb (patch) | |
tree | fe38ddb7af24218dc4d4d1200d7e1ac223d9f788 /puppet/modules/site_mx/manifests/haproxy.pp | |
parent | db5fd91d32b215eb9827e36e2a51c98af993ab99 (diff) |
added site_mx::haproxy
Diffstat (limited to 'puppet/modules/site_mx/manifests/haproxy.pp')
-rw-r--r-- | puppet/modules/site_mx/manifests/haproxy.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/puppet/modules/site_mx/manifests/haproxy.pp b/puppet/modules/site_mx/manifests/haproxy.pp new file mode 100644 index 00000000..988eeaf3 --- /dev/null +++ b/puppet/modules/site_mx/manifests/haproxy.pp @@ -0,0 +1,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'), + } +} |