From b7c098f89d124946bbadb9002e423eac0ff736b1 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Wed, 10 Oct 2012 17:21:21 -0700 Subject: Change `virtual_ip` to `listen_ip` Because it's not really virtual. --- manifests/config.pp | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'manifests') diff --git a/manifests/config.pp b/manifests/config.pp index 974f213..b9caf15 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -30,7 +30,7 @@ # resource type. This is necessary to ensure the fragment is associated # with the correct listening service instance. # -# [*virtual_ip*] +# [*listen_ip*] # The ip address the proxy binds to. Empty addresses, '*', and '0.0.0.0' # mean that the proxy listens to all valid addresses on the system. # @@ -55,12 +55,17 @@ # Exporting the resource for a balancer member: # # haproxy::config { 'puppet00': -# order => '20', -# virtual_ip => $::ipaddress, -# virtual_ip_port => '18140', -# mode => 'tcp', -# haproxy_config_options => {'option' => ['tcplog', 'ssl-hello-chk'], -# 'balance' => 'roundrobin'}, +# order => '20', +# listen_ip => $::ipaddress, +# ports => '18140', +# mode => 'tcp', +# config_options => { +# 'option' => [ +# 'tcplog', +# 'ssl-hello-chk' +# ], +# 'balance' => 'roundrobin' +# }, # } # # === Authors @@ -70,11 +75,11 @@ define haproxy::config ( $ports, $order = '20', - $virtual_ip = $::ipaddress, + $listen_ip = $::ipaddress, $mode = 'tcp', $collect_exported = true, $config_options = { - 'option' => [ + 'option' => [ 'tcplog', 'ssl-hello-chk' ], -- cgit v1.2.3