Set net.ipv4.ip_forward to 1

Make sure we configure routing properly on standalone-haproxy nodes

Change-Id: I826bd1f8eb1abd5080b3d38d177d2156ce5c2819
This commit is contained in:
Aleksandr Didenko 2016-05-04 12:52:28 +02:00
parent 0eee8d89e7
commit fe8b4a0333
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,3 @@
notice('MODULAR: detach-haproxy/settings.pp')
sysctl::value{'net.ipv4.ip_forward': value=>'1'}

View File

@ -109,3 +109,14 @@
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 180
- id: standalone-haproxy-settings
version: 2.0.0
type: puppet
groups: [primary-standalone-haproxy, standalone-haproxy]
requires: [deploy_start, hosts]
required_for: [cluster, deploy_end]
parameters:
puppet_manifest: puppet/manifests/settings.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 180