summaryrefslogtreecommitdiff
path: root/puppet/modules/site_mx/manifests/haproxy.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-07-26 14:21:22 -0400
committerMicah Anderson <micah@leap.se>2013-07-26 14:21:22 -0400
commit701c66c8de081f8148ab63c09f52fe97b122f54a (patch)
tree6cd2aef6d2041d200e071d184e46996945c07f35 /puppet/modules/site_mx/manifests/haproxy.pp
parent4766d719b1181b636dc57374b478d2c21e369dc1 (diff)
parent8d28379aca4d8a79caa00afbf79ad4e5a204493f (diff)
Merge branch 'feature/mx' into develop
Diffstat (limited to 'puppet/modules/site_mx/manifests/haproxy.pp')
-rw-r--r--puppet/modules/site_mx/manifests/haproxy.pp14
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'),
+ }
+}